Update ci.yml #60
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: b3bp CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Install | |
run: | | |
corepack yarn | |
- name: Lint | |
run: | | |
corepack yarn lint | |
- name: Test | |
run: | | |
corepack yarn test |