chore(deps): update all (major) #372
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 Pull Request | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
test: | |
name: Test Application | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.1.7 | |
- name: Use Node 14 | |
uses: actions/setup-node@v4.0.4 | |
with: | |
node-version: 14 | |
- name: Install dependencies with yarn | |
run: yarn install --frozen-lockfile | |
- name: Lint code | |
run: yarn lint | |
- name: Test types | |
run: yarn test:t | |
- name: Test application | |
run: yarn test | |
build-pr: | |
name: Build Application | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.1.7 | |
- name: Use Node 14 | |
uses: actions/setup-node@v4.0.4 | |
with: | |
node-version: 14 | |
- name: Install dependencies with yarn | |
run: yarn install --frozen-lockfile | |
- name: Run build command | |
run: yarn build:pr |