Skip to content

Release 3.0.4

Release 3.0.4 #17

Workflow file for this run

name: Publish to NPM Release
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: sleep 20
- run: npm install -g npm
- run: npm ci
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- run: echo "email=${{ secrets.NPM_PUBLISH_EMAIL }}" >> .npmrc
- run: echo always-auth=true >> .npmrc
- run: echo provenance=true >> .npmrc
- run: npx release-it --config .release-it.prod.json --ci --no-git --no-increment --verbose
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_PUBLISH_EMAIL: ${{ secrets.NPM_PUBLISH_EMAIL }}