Skip to content

Commit

Permalink
Update release.yml (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKurt authored Oct 21, 2023
1 parent 3de5d21 commit 7dce9fa
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Prerelease
uses: ./.github/workflows/prerelease
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Install dependencies
run: npx ci
- name: Install semantic-release extra plugins
run: npm install --save-dev @semantic-release/changelog @semantic-release/git
- name: Lint
run: npm run lint-fix
- name: Test
run: npm run test:unit --if-present
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: npx semantic-release

0 comments on commit 7dce9fa

Please sign in to comment.