Skip to content

Commit c075888

Browse files
authored
Merge pull request #407 from Permify/chore/change-publish-action
chore: change publish action
2 parents 9948d2a + 8a28323 commit c075888

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
cache-dependency-path: ./yarn.lock
2323
cache: "yarn"
2424
node-version: 20
25+
registry-url: "https://registry.npmjs.org"
2526

26-
- uses: bahmutov/npm-install@3e063b974f0d209807684aa23e534b3dde517fd9 # v1.11.2
27-
with:
28-
useLockFile: false
29-
27+
- name: Install dependencies
28+
run: yarn install --frozen-lockfile --non-interactive
29+
3030
- name: Build
3131
run: yarn build
3232

@@ -38,7 +38,7 @@ jobs:
3838
3939
- run: "npm version ${VERSION} --no-git-tag-version"
4040

41-
- uses: JS-DevTools/npm-publish@7f8fe47b3bea1be0c3aec2b717c5ec1f3e03410b # v4.1.1
42-
with:
43-
token: ${{ secrets.NPM_TOKEN }}
44-
access: public
41+
- name: Publish to NPM
42+
run: npm publish --access public
43+
env:
44+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)