v1.0.2 #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- "v*.*.*" | |
permissions: | |
id-token: write | |
name: Build and Release | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install NodeJS | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Verify versions | |
run: node --version && npm --version && node -p process.versions.v8 | |
- name: Release package | |
run: npm publish --access public --ignore-scripts --provenance | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |