-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: testing workflow for website, remove dependency (#40)
- Loading branch information
1 parent
e108d2e
commit 3fba28f
Showing
4 changed files
with
356 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Website Test | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Build Website | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' | ||
cache: npm | ||
cache-dependency-path: ./website/package-lock.json | ||
|
||
- name: Install dependencies | ||
working-directory: ./website | ||
run: npm ci | ||
|
||
- name: Build website | ||
working-directory: ./website | ||
run: | | ||
npm run build | ||
env: | ||
GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.