Update basemap #22
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
name: Run tests and deploy to GitHub pages if successful | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
run-unit-tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- name: Setup Node 🔧 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install and run unit tests 🔧 | |
run: | | |
npm install --force | |
npm run test:unit | |
deploy-gh-pages: | |
needs: run-unit-tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- name: Setup Node 🔧 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install and build 🔧 | |
run: | | |
npm install --force | |
npm run build | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs |