Skip to content

Commit

Permalink
fix: publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
9renpoto committed Mar 14, 2023
1 parent 28ce531 commit eb5876f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 434 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
node-version: 18
- run: npm ci
- run: npm run build
- run: npm test
Expand All @@ -29,10 +29,10 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
node-version: 18
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npx lerna exec --no-bail -- 'can-npm-publish && npm publish'
- run: npm run publish --workspaces
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading

0 comments on commit eb5876f

Please sign in to comment.