Skip to content

Commit

Permalink
ci: fix the release pipeline (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
haideralsh authored Mar 7, 2025
1 parent 608e793 commit b7e9ba2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ on:
push:
branches:
- master
- next
- beta
jobs:
release:
name: Release
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 12
node-version-file: '.nvmrc'
- name: Install dependencies
run: yarn
- name: Build
Expand All @@ -24,4 +26,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: npx semantic-release
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v22.11.0

0 comments on commit b7e9ba2

Please sign in to comment.