Skip to content

chore(deps): update all dependencies #318

chore(deps): update all dependencies

chore(deps): update all dependencies #318

Workflow file for this run

name: Typechecking
on:
push:
branches:
- main
paths:
- '**.ts'
- '**.vue'
- '**/tsconfig.json'
- 'yarn.lock'
- '.github/workflows/typechecking.yml'
pull_request:
paths:
- '**.ts'
- '**.vue'
- '**/tsconfig.json'
- 'yarn.lock'
- '.github/workflows/typechecking.yml'
defaults:
run:
shell: 'bash'
jobs:
typescript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
## Yarn dir
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
## Cache
- name: Cache yarn cache
uses: actions/cache@v4
id: cache-yarn-cache2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn2-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn2-
## Cache
- name: Cache node_modules
id: cache-node-modules2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules2-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-nodemodules2-
## Dependencies
- name: Install Dependencies
if: |
steps.cache-yarn-cache.outputs.cache-hit != 'true' ||
steps.cache-node-modules.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
# Type checking is divided into three separate commands for more convenient logs
- run: yarn typecheck-main
- run: yarn typecheck-preload
- run: yarn typecheck-renderer