Skip to content

Commit ece30ed

Browse files
"Reformat npm-publish.yml workflow, moving node-version and run commands"
1 parent 1d6ff10 commit ece30ed

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,12 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
16-
with:
17-
node-version: 20
18-
- run: npm ci
19-
- run: npm run build
20-
2116
with:
2217
node-version: 20
2318
registry-url: https://registry.npmjs.org/
24-
19+
2520
- run: npm ci
21+
- run: npm run build
2622
- run: npm publish
2723
env:
2824
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)