Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,15 @@ jobs:
id: package
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
registry-token: ${{ secrets.NPM_TOKEN }}
registry-url: 'https://npm.pkg.github.com'
registry-token: ${{ secrets.GITHUB_TOKEN }}
increment: ${{ github.event.inputs.increment }}
preid: ${{ github.event.inputs.preid }}
- uses: aboutbits/github-actions-base/github-create-release@v2
with:
tag-name: 'v${{ steps.package.outputs.version }}'
release-description: |
```bash
npm install ${{ steps.package.outputs.name }}@^${{ steps.package.outputs.version }}
```
release-notes-generation: 'true'
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: aboutbits/github-actions-node/setup-and-install@v3
with:
node-version: ${{ matrix.node_version }}
registry-url: 'https://npm.pkg.github.com'
registry-token: ${{ secrets.GITHUB_TOKEN }}
- name: Lint
run: npm run lint
shell: bash
Expand All @@ -36,6 +38,8 @@ jobs:
- uses: aboutbits/github-actions-node/setup-and-install@v3
with:
node-version: ${{ matrix.node_version }}
registry-url: 'https://npm.pkg.github.com'
registry-token: ${{ secrets.GITHUB_TOKEN }}
- name: Test
run: npm run test
shell: bash
Loading