Skip to content

Commit 5b04eeb

Browse files
committed
1 parent d696d2d commit 5b04eeb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/publish-on-tag.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version-file: '.nvmrc'
21+
registry-url: 'https://registry.npmjs.org'
22+
- name: Update npm
23+
run: npm install -g npm@latest
1724
- name: Install dependencies
1825
run: npm install
1926
- name: Build
2027
run: npm run build
2128
- name: Publish
22-
env:
23-
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
2429
run: |
25-
npm config set registry 'https://wombat-dressing-room.appspot.com/'
26-
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
2730
npm publish --provenance --access public

0 commit comments

Comments
 (0)