From ff98f693972ff49ef4e1dea3516b11932018ce66 Mon Sep 17 00:00:00 2001 From: Grace Park Date: Wed, 3 Jun 2026 10:25:42 -0700 Subject: [PATCH 1/2] Update GitHub Actions workflow for NPM publishing --- .github/workflows/publish.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee944fc..6c8aa48 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,10 +11,10 @@ jobs: publish-npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: actions/setup-node@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: - node-version: 22 + node-version: 24 registry-url: https://registry.npmjs.org/ cache: npm - run: npm ci @@ -24,6 +24,4 @@ jobs: npm version ${TAG_NAME} --git-tag-version=false env: TAG_NAME: ${{github.event.release.tag_name}} - - run: npm whoami; npm --ignore-scripts publish --provenance - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + - run: npm --ignore-scripts publish --provenance From 9a1fa06396f4a04fa0ae1eedb02a73ae424c1ca5 Mon Sep 17 00:00:00 2001 From: Grace Park Date: Wed, 3 Jun 2026 10:26:52 -0700 Subject: [PATCH 2/2] Update ci.yml --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c92c510..8aa1ee6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: actions/setup-node@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: - node-version: 22 + node-version: 24 - run: npm ci - run: npm test