Skip to content

Release 3.0.3

Release 3.0.3 #94

name: Publish to NPM on develop (tag ci)
on:
push:
branches:
- develop
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: 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 prerelease --config .release-it.ci.json --ci --no-git --verbose --preReleaseId=ci.${{ github.run_number }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_PUBLISH_EMAIL: ${{ secrets.NPM_PUBLISH_EMAIL }}