Skip to content

fix: packages/cape/package.json to reduce vulnerabilities #992

fix: packages/cape/package.json to reduce vulnerabilities

fix: packages/cape/package.json to reduce vulnerabilities #992

Workflow file for this run

name: Build and Test
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: yarn install --frozen-lockfile
- run: yarn bootstrap
- name: Build
run: yarn build
- name: Lint
run: yarn lint
- name: Test
run: yarn test:ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage/coverage-final.json
flags: unittests
- name: Publish
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
yarn publish:ci
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}