Skip to content

Commit

Permalink
fix: release and ci action fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
l3d00m committed Oct 6, 2023
1 parent fbdc3c9 commit 68afca4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ on:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18, 20, 'lts/*']
name: Build with node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4 # v4
- uses: actions/setup-node@v3 # v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
node-version: ${{ matrix.node }}

- name: Install dependencies 📦
run: yarn install --immutable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: npx semantic-release --branches main

0 comments on commit 68afca4

Please sign in to comment.