1 parent 929e612 commit ab70b01Copy full SHA for ab70b01
1 file changed
.github/workflows/npm-publish.yml
@@ -21,18 +21,6 @@ jobs:
21
uses: actions/setup-node@v4
22
with:
23
node-version: 20
24
- registry-url: https://registry.npmjs.org
25
-
26
- - name: Enable Corepack
27
- run: corepack enable
28
29
- - name: Install dependencies
30
- run: yarn install --immutable
31
32
- - name: Build package
33
- run: yarn build
34
35
- - name: Publish package
36
- run: npm publish --access public --provenance
37
- env:
38
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ - run: npm ci
+ - run: npm run build --if-present
+ - run: npm publish
0 commit comments