Skip to content

Merge pull request #218 from eventualbuddha/pr/sosukesuzuki/217 #10

Merge pull request #218 from eventualbuddha/pr/sosukesuzuki/217

Merge pull request #218 from eventualbuddha/pr/sosukesuzuki/217 #10

Workflow file for this run

name: Release
on:
push:
branches: [main]
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
version: 6.20.3
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test
- name: Build
run: pnpm build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpx semantic-release --branches main