fix: package.json & package-lock.json to reduce vulnerabilities #25
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
on: push | |
jobs: | |
build: | |
name: Build stage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Run `npm build:production` | |
run: npm run-script build:production | |
report: | |
name: Report stage | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/checkout@master | |
- name: Send Velocity deployment | |
uses: ./ | |
with: | |
token: ${{ secrets.VELOCITY_DEPLOYMENT_TOKEN }} |