Skip to content

Commit b6d83b5

Browse files
committed
Tweak ci scripts
1 parent 137be85 commit b6d83b5

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ jobs:
3333
node-version: 'lts/*'
3434
cache: 'npm'
3535
- run: npm install
36-
- name: 'Setup dist'
37-
run: bash test/setup.sh --dist
3836
- name: Run coverage
3937
run: |
4038
npm run build

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@ jobs:
1313
with:
1414
node-version: 'lts/*'
1515
cache: 'npm'
16-
- name: Configure npm
16+
- run: npm install
17+
- name: configure npm
1718
run: |
1819
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc
19-
cat .npmrc
2020
env:
2121
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22-
- run: npm install
23-
- run: npm publish --workspaces
22+
- name: publish to npm
23+
run: npm publish --workspaces
2424
env:
2525
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26-
- run: npm run dist:postpublish
26+
- name: postpublish
27+
run: npm run dist:postpublish
2728
- uses: actions/upload-artifact@v3
2829
with:
2930
name: linkify

0 commit comments

Comments
 (0)