[Snyk] Upgrade handlebars from 4.7.7 to 4.7.8 #90
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: development workflow | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'checkout repo' | |
uses: actions/checkout@v3 | |
- name: 'run tests' | |
run: | | |
npm ci | |
npm run serve & | |
npm test | |
- name: 'run build' | |
run: | | |
npm run build | |
- name: 'Deploy after tests succeeded' | |
id: deployment | |
uses: netlify/actions/cli@master | |
with: | |
args: deploy --dir=dist | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} |