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 a658b5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
node-version: 'lts'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Release
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 a658b5b

Please sign in to comment.