Skip to content

Commit a48e626

Browse files
authored
chore: remove JS-DevTools/npm-publish (#266)
1 parent a2a4c9e commit a48e626

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/CI-CD.yaml

+7-8
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ jobs:
5252
github-token: ${{ secrets.GITHUB_TOKEN }}
5353
parallel: true
5454

55-
5655
coverage:
5756
name: Code Coverage
5857
runs-on: ubuntu-latest
@@ -88,9 +87,9 @@ jobs:
8887
run: npm ci
8988

9089
- name: Publish to NPM
91-
uses: JS-DevTools/npm-publish@v1
92-
with:
93-
token: ${{ secrets.NPM_TOKEN }}
90+
run: npm publish --provenance --access public
91+
env:
92+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9493

9594
- name: Prepare the non-scoped packaged
9695
run: |
@@ -99,7 +98,7 @@ jobs:
9998
sed -i "s/X.X.X/${VERSION}/g" dist/package.json
10099
101100
- name: Publish the non-scoped package to NPM
102-
uses: JS-DevTools/npm-publish@v1
103-
with:
104-
token: ${{ secrets.NPM_TOKEN }}
105-
package: dist/package.json
101+
run: npm publish --provenance --access public
102+
working-directory: dist
103+
env:
104+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)