File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,21 +17,28 @@ jobs:
1717 steps :
1818 - uses : actions/checkout@v6
1919
20+ - uses : pnpm/action-setup@v5
21+
2022 - name : Set up Node.js
2123 uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
2224 with :
2325 node-version : " 24"
2426 registry-url : " https://registry.npmjs.org"
25- cache : " pnpm "
27+ package-manager- cache : false # never use caching in release builds
2628
2729 - run : pnpm install
2830 - run : pnpm build
2931 - run : pnpm test
3032
3133 # Might need --recursive in this publish command?
3234 - name : Read version and publish
35+ env :
36+ # Clear the sentinel value setup-node writes; otherwise npm tries to
37+ # use it as a bearer token and rejects OIDC.
38+ # https://github.com/actions/setup-node/issues/1440#issuecomment-3571890875
39+ NODE_AUTH_TOKEN : " "
3340 run : |
34- VERSION=$(jq -r .version package.json)
41+ VERSION=$(jq -r .version packages/deck.gl-geoarrow/ package.json)
3542 if [[ "$VERSION" == *alpha* || "$VERSION" == *beta* ]]; then
3643 pnpm publish --no-git-checks --tag beta
3744 else
You can’t perform that action at this time.
0 commit comments