Skip to content

ci: Upgrade actions/upload-artifact and actions/download-artifact to v4 #63

ci: Upgrade actions/upload-artifact and actions/download-artifact to v4

ci: Upgrade actions/upload-artifact and actions/download-artifact to v4 #63

Workflow file for this run

name: checks
on:
pull_request:
push:
branches: [master]
env:
CI: true
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Use cached node_modules
uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn install --immutable
- name: Lint
run: yarn lint
- name: Typecheck
run: yarn typecheck
- name: Test
run: yarn test