Skip to content

Commit 92500c5

Browse files
authored
chore: use NODE_AUTH_TOKEN npm publish (#1010)
* chore: use NODE AUTH TOKEN for npm pub * chore: remove artifacts v2
1 parent 734e552 commit 92500c5

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

.github/workflows/ci.yml

-20
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ jobs:
3939
- name: Run tests
4040
run: |
4141
CI=true npm run test
42-
- name: Store artifacts
43-
uses: actions/upload-artifact@v2
44-
with:
45-
name: test
46-
path: test
4742
4843
scenarios:
4944
runs-on: ubuntu-latest
@@ -55,11 +50,6 @@ jobs:
5550
- name: Run scenarios
5651
run: |
5752
CI=true npm run scenarios
58-
- name: Store artifacts
59-
uses: actions/upload-artifact@v2
60-
with:
61-
name: scenarios
62-
path: scenarios
6353
6454
lint:
6555
runs-on: ubuntu-latest
@@ -70,11 +60,6 @@ jobs:
7060
action: retrieve
7161
- name: Run Lint
7262
run: npm run lint
73-
- name: Store artifacts
74-
uses: actions/upload-artifact@v2
75-
with:
76-
name: lint
77-
path: lint
7863

7964
coverage:
8065
runs-on: ubuntu-latest
@@ -89,11 +74,6 @@ jobs:
8974
uses: coverallsapp/github-action@v2
9075
with:
9176
github-token: ${{ secrets.GITHUB_TOKEN }}
92-
- name: Store artifacts
93-
uses: actions/upload-artifact@v2
94-
with:
95-
name: coverage
96-
path: coverage
9777

9878
slither:
9979
runs-on: ubuntu-latest

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
- run: npm publish
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.RAZORNETWORKBOT }}
31-
NPM_TOKEN: ${{ secrets.RAZORDEPLOYER }}
31+
NODE_AUTH_TOKEN: ${{ secrets.RAZORDEPLOYER }}

0 commit comments

Comments
 (0)