There was an error while loading. Please reload this page.
1 parent 58a34c9 commit ea303a9Copy full SHA for ea303a9
1 file changed
.github/workflows/release.yml
@@ -24,8 +24,8 @@ jobs:
24
needs: lint
25
strategy:
26
matrix:
27
- node: ["20.x", "22.x"]
28
- os: [ubuntu-latest]
+ node: ["20.x", "22.x", "24.x"]
+ os: [ubuntu-latest, windows-latest, macOS-latest]
29
30
steps:
31
- name: Checkout repo
@@ -57,6 +57,12 @@ jobs:
57
- name: Set up Node.js
58
uses: labd/gh-actions-typescript/pnpm-install@main
59
60
+ - name: Run build
61
+ run: pnpm build
62
+
63
+ - name: Upgrade npm for trusted publishing
64
+ run: npm i -g npm@^11.6.4
65
66
- name: Create and publish versions
67
uses: changesets/action@v1
68
with:
@@ -66,5 +72,4 @@ jobs:
72
version: pnpm publish:version
73
env:
74
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
70
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
75
+ NPM_CONFIG_PROVENANCE: true
0 commit comments