Publish to github packages #17
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: Test | |
on: | |
push: | |
branches: | |
- main | |
- 'v**' | |
- 'releases/v**' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- main | |
- 'v**' | |
- 'releases/v**' | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: Install packages, build, lint, and test | |
run: | | |
pnpm i | |
pnpm build | |
pnpm lint | |
pnpm test |