chore(deps): bump actions/setup-node from 3 to 4 #15
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: PR Verify | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
check: | |
outputs: | |
run_verify: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- run: | | |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* | |
verify: | |
runs-on: ubuntu-latest | |
if: needs.check.outputs.run_verify == 'true' | |
needs: check | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up node and npm cache | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'npm' | |
- name: Install dependencies | |
run: | | |
npm install | |
- name: Run lint | |
run: | | |
npm run lint | |
- name: Check TypeScript | |
run: | | |
npm run tsc | |
- name: Run Tests | |
run: | | |
npm run test:ci |