Skip to content

chore(deps): update actions/cache action to v5.0.2 (#453) #12

chore(deps): update actions/cache action to v5.0.2 (#453)

chore(deps): update actions/cache action to v5.0.2 (#453) #12

Workflow file for this run

name: Publish to NPM
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
permissions:
contents: read
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24.11.1
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: 10.26.2
- run: pnpm install --frozen-lockfile
- uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
with:
path: downloads
key: downloads-${{ hashFiles('Makefile') }}
restore-keys: |
downloads-
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}