Skip to content

Update dependency lint-staged to v15 #200

Update dependency lint-staged to v15

Update dependency lint-staged to v15 #200

Workflow file for this run

name: Node.js Package
on:
push:
branches:
- master
jobs:
test-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2-beta
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn install --frozen-lockfile --ignore-optional --non-interactive --silent
- run: yarn test
- uses: codecov/codecov-action@v3
with:
file: ./coverage/coverage-final.json
- run: npx npmPkgJsonLint ./package.json
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}