Skip to content

Investigating failure to trigger release action, part 1 #4

Investigating failure to trigger release action, part 1

Investigating failure to trigger release action, part 1 #4

Workflow file for this run

name: Deploy to NPM
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- name: Install dependencies
run: npm ci
# - name: Update package version
# run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version
- name: Publish to NPM
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}