Skip to content

feat: finish

feat: finish #1

Workflow file for this run

name: CD
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts/*
- uses: pnpm/[email protected]
with:
version: latest
- run: pnpm install --ignore-scripts
- run: pnpm run lint
- run: pnpm run tsc
release:
needs: linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts/*
- uses: pnpm/[email protected]
with:
version: latest
- run: pnpm install --ignore-scripts
- run: pnpm run build
- run: pnpx semantic-release
env:
GH_TOKEN: ${{ secrets.EVENT_HUB_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.EVENT_HUB_NPM_TOKEN }}