Skip to content

fix: github workflow uses yarn instead of pnpm #89

fix: github workflow uses yarn instead of pnpm

fix: github workflow uses yarn instead of pnpm #89

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 14.18.3
cache: 'pnpm'
- name: Install dependencies
run: pnpm --frozen-lockfile
- name: Build
run: pnpm build
- name: Test
run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release