Skip to content

Build and Release

Build and Release #7

Workflow file for this run

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 --ignore-scripts --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}