Skip to content

Commit 5629d5e

Browse files
committed
Revert "fix: migrate npm publish to blacksmith trusted auth (no classic tokens)"
This reverts commit bf91c95.
1 parent bf91c95 commit 5629d5e

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: blacksmith-4vcpu-ubuntu-2204
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v3
1717
with:
1818
token: ${{ secrets.FLOWCORE_MACHINE_GITHUB_TOKEN }}
1919
submodules: true
@@ -37,11 +37,10 @@ jobs:
3737
run: deno publish
3838
- name: Build for NPM
3939
run: deno run -A bin/build-npm.ts
40-
- uses: useblacksmith/setup-node@v5
40+
- uses: actions/setup-node@v4
4141
with:
4242
node-version: "20.x"
4343
registry-url: "https://registry.npmjs.org"
44-
- name: Update npm
45-
run: npm install -g npm@latest
46-
- name: Publish to NPM
47-
run: ( cd npm && npm publish --access public --provenance=false )
44+
- run: ( cd npm && npm publish --access public )
45+
env:
46+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
--health-retries 5
3737
3838
steps:
39-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v3
4040
with:
4141
token: ${{ secrets.FLOWCORE_MACHINE_GITHUB_TOKEN }}
4242
submodules: true

0 commit comments

Comments
 (0)