Skip to content

Commit 21873ec

Browse files
authored
chore(ci): update npm before npm publish (#115)
* chore(ci): update npm before npm publish * chore(ci): pin node and npm for trusted publishing
1 parent 64fd977 commit 21873ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
2222
- name: setup node
2323
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2424
with:
25-
node-version: '16'
25+
node-version: '22.14.0'
2626
check-latest: true
27+
- name: install npm version with trusted publishing support
28+
run: npm install -g npm@11.5.1
2729
- name: install dependencies
2830
run: npm install
2931
- name: build component library

0 commit comments

Comments
 (0)