Skip to content

Merge pull request #6 from jessestricker/dependabot/github_actions/ac… #26

Merge pull request #6 from jessestricker/dependabot/github_actions/ac…

Merge pull request #6 from jessestricker/dependabot/github_actions/ac… #26

Workflow file for this run

name: Release
on:
push:
branches: [main]
jobs:
run-checks:
name: Run checks
uses: ./.github/workflows/checks.yml
release:
name: Release
needs: [run-checks]
permissions:
contents: write # to create a GitHub release
packages: write # to publish to the GitHub Package Registry
issues: write # to comment on released issues
pull-requests: write # to comment on released pull requests
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 9
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version-file: package.json
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Release
run: pnpm exec semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}