fix(deps): update all (major) #398
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 GitHub Action | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Use Node 14 | |
uses: actions/[email protected] | |
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 GitHub Action | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Use Node 14 | |
uses: actions/[email protected] | |
with: | |
node-version: 14 | |
- name: Install dependencies with yarn | |
run: yarn install --frozen-lockfile | |
- name: Run build command | |
run: yarn build:pr |