diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 75c5fbb..b4b8f3d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,17 +15,25 @@ jobs: id-token: write steps: - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4 - - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v4 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 + + # --------------------------------------------------------------------- + # Setup + + - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 with: - node-version: "22" + node-version: "22.21.1" registry-url: "https://registry.npmjs.org" - run: npm ci - - run: ./node_modules/.bin/tsc + # --------------------------------------------------------------------- + # Build + - run: ./node_modules/.bin/tsc - run: npm --no-git-tag-version version from-git - - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + # --------------------------------------------------------------------- + # Publish + + - run: npm publish --access public