Skip to content

chore: updated pnpm-lock file #16

chore: updated pnpm-lock file

chore: updated pnpm-lock file #16

Workflow file for this run

name: release
on:
push:
branches: [main, beta]
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node env 🏗
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
check-latest: true
- name: Setup pnpm 📦
uses: pnpm/action-setup@v4
with:
package_json_file: package.json
- name: Install dependencies 📦
run: pnpm install
- name: Run linter 👀
run: pnpm run lint-fix
- name: Build ⚙️
run: pnpm run build
release:
runs-on: ${{ matrix.os }}
needs: ci
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node env 🏗
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
check-latest: true
- name: Setup pnpm 📦
uses: pnpm/action-setup@v4
with:
package_json_file: package.json
- 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: Build ⚙️
run: pnpm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release