chore: changes project config #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: Test & Lint & Build | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
permissions: | |
contents: write | |
pull-requests: write | |
issues: read | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.17.0 | |
check-latest: true | |
cache: yarn | |
- name: Install dependencies | |
run: yarn | |
- name: lint | |
run: yarn lint | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.17.0 | |
check-latest: true | |
cache: yarn | |
- name: Install dependencies | |
run: yarn | |
- name: test | |
run: yarn test:ci |