Skip to content

upgrade to 2.1.6

upgrade to 2.1.6 #26

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created

Check failure on line 1 in .github/workflows/npm-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/npm-publish.yml

Invalid workflow file

(Line: 16, Col: 9): Unexpected value ''
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Publish package to NPM
on:
workflow_dispatch: ~
release:
types: [published]
permissions:
id-token: write # Required for OIDC / npm
contents: read
jobs:
build:
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 24
- run: corepack enable
- run: yarn install --immutable
- run: yarn run build
# Ensure npm 11.5.1 or later is installed
- name: Update npm
run: npm install -g npm@latest
- run: npm publish --provenance
working-directory: ./packages/devtools