Skip to content

v7.12.0

v7.12.0 #125

Workflow file for this run

name: publish npm package
on:
release:
types: [created]
jobs:
npm-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: latest
registry-url: https://registry.npmjs.org/
- id: node-modules-cache
uses: actions/cache@v3
with:
path: |
node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
restore-keys: node-modules-
- run: npm i
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}