Skip to content

fix: package.json & package-lock.json to reduce vulnerabilities #1493

fix: package.json & package-lock.json to reduce vulnerabilities

fix: package.json & package-lock.json to reduce vulnerabilities #1493

Workflow file for this run

name: ci
on: [push]
jobs:
test:
runs-on: ubuntu-latest
env:
CI: true
VERSION_COMMIT: ${{ github.sha }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.14
- name: Install NPM dependencies
run: npm ci
- name: Build source code
run: npm run build --if-present
- name: Test source code
run: npm test
- name: Submit coveralls test coverage report
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check if release should be created
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}