update telemetry types #32
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: Checks | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
pull_request: | |
runs-on: windows-2022 | |
steps: | |
- name: "Check out repo" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
# We need to skip corepack check because the windows runner (specifically) | |
# is inconsistent with the yarn version it uses See actions/setup-node#889 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
node-version-file: .nvmrc | |
cache: "yarn" | |
cache-dependency-path: yarn.lock | |
env: | |
SKIP_YARN_COREPACK_CHECK: 1 | |
- name: "Install deps" | |
run: | | |
corepack enable | |
yarn install | |
- name: "Build packages" | |
run: yarn build | |
# We need to lint after building so we have access to types (could use references but) | |
- name: "Lint codebase" | |
run: yarn lint | |
- name: "Version check" | |
run: yarn version check |