build: update lockfile #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
- alpha | |
- beta | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
id-token: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
with: | |
version: 8.9.2 | |
- uses: actions/setup-node@v3 | |
name: Install Node.js | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Update npm | |
run: npm install -g npm@latest | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Lint our source code | |
run: pnpm lint | |
- name: Build | |
run: pnpm build | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
HUSKY: '0' | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: pnpm semantic-release |