Skip to content

Commit

Permalink
fix: added semantic release job
Browse files Browse the repository at this point in the history
  • Loading branch information
kouts committed Jan 14, 2024
1 parent 9dfd2ef commit 6cab224
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ jobs:
- name: Install dependencies 📦
run: pnpm install

- name: Install semantic-release extra plugins 📦
run: pnpm install --save-dev semantic-release @semantic-release/changelog @semantic-release/git

- name: Run linter 👀
run: pnpm run lint-fix

Expand All @@ -47,6 +44,36 @@ jobs:

- name: Build
run: pnpm run build
release:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [20]

steps:
- name: Checkout 🛎
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup node env 🏗
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true

- name: Setup pnpm 📦
uses: pnpm/action-setup@v2
with:
version: 8.9.2

- name: Install dependencies 📦
run: pnpm install

- name: Install semantic-release extra plugins 📦
run: pnpm install --save-dev semantic-release @semantic-release/changelog @semantic-release/git

- name: Release
env:
Expand Down

0 comments on commit 6cab224

Please sign in to comment.