Skip to content

attempting gh issue thread (#1376) #1223

attempting gh issue thread (#1376)

attempting gh issue thread (#1376) #1223

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
concurrency:
group: publish-${{ github.ref }}
cancel-in-progress: true
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
registry-url: https://registry.npmjs.org/
cache: npm
- name: Install dependencies
run: npm ci
- name: Publish if needed
run: ./scripts/publish-if-not-exists.sh
env:
NPM_CONFIG_PROVENANCE: true