Revert "chore: change to project-relative" #69
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: Build | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v2 | |
- name: Configure yarn caching | |
uses: actions/cache@v2 | |
with: | |
path: ~/.yarn | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/workflows/prettier.yml') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn install | |
- name: Format the code | |
run: yarn run prettier | |
- name: Check the code style | |
run: yarn run lint:eslint | |
- name: Check the types | |
run: yarn run check-types | |
- name: Build the project | |
run: yarn run build |