Skip to content

v2.0.1

v2.0.1 #31

Workflow file for this run

name: Publish package to npmjs
on:
release:
types: [created]
jobs:
ci:
uses: denbon05/fastify-lcache/.github/workflows/ci.yml@main
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm test
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}