PinkChampagne17 is testing out #4
Workflow file for this run
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: CI | |
run-name: ${{ github.actor }} is testing out | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- dev | |
- "beachball" | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
branches: | |
- main | |
- dev | |
paths-ignore: | |
- "**.md" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "pnpm" | |
node-version: "18" | |
- name: Enable corepack | |
run: corepack enable | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint | |
- name: Test | |
run: pnpm run test | |
- name: Build | |
run: pnpm run build | |
- name: Release | |
run: pnpm run release --token "$NPM_TOKEN" | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |