Skip to content

Commit

Permalink
Tweak ci scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrasser committed Nov 19, 2024
1 parent 137be85 commit b6d83b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
node-version: 'lts/*'
cache: 'npm'
- run: npm install
- name: 'Setup dist'
run: bash test/setup.sh --dist
- name: Run coverage
run: |
npm run build
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ jobs:
with:
node-version: 'lts/*'
cache: 'npm'
- name: Configure npm
- run: npm install
- name: configure npm
run: |
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc
cat .npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm install
- run: npm publish --workspaces
- name: publish to npm
run: npm publish --workspaces
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm run dist:postpublish
- name: postpublish
run: npm run dist:postpublish
- uses: actions/upload-artifact@v3
with:
name: linkify
Expand Down

0 comments on commit b6d83b5

Please sign in to comment.