Skip to content

Commit 390b8f1

Browse files
authored
Update build.yml
Signed-off-by: Warren Parad <5056218+wparad@users.noreply.github.com>
1 parent 90b7199 commit 390b8f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Node.js
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: 16
30+
node-version: 20
3131
registry-url: 'https://registry.npmjs.org'
3232

3333
- name: Install packages
@@ -40,9 +40,9 @@ jobs:
4040
run: yarn lint
4141
- name: Deploy to NPM
4242
if: github.repository_owner == 'Authress-Engineering' && github.ref != 'refs/heads/main' && github.event_name == 'push'
43-
run: npm publish
44-
env:
45-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
43+
run: |
44+
npm install -g npm@latest
45+
npm publish
4646
4747
- name: After build
4848
if: github.repository_owner == 'Authress-Engineering' && github.ref != 'refs/heads/main' && github.event_name == 'push'
@@ -72,4 +72,4 @@ jobs:
7272
path: 'site'
7373
- name: Deploy to GitHub Pages
7474
id: deployment
75-
uses: actions/deploy-pages@v4
75+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)