Change slack to discord #370
Workflow file for this run
This file contains hidden or 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: CI | |
on: | |
push: | |
branches: main | |
tags: v* | |
pull_request: | |
branches: "*" | |
jobs: | |
lint: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- run: corepack enable | |
- name: Configure Node.js | |
uses: actions/setup-node@v4.1.0 | |
with: | |
node-version: 20.x | |
cache: yarn | |
- run: yarn install --immutable | |
- run: yarn run tsc --noEmit # typecheck files that are not included by webpack or package builds | |
- run: yarn lint:ci | |
test: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- run: corepack enable | |
- name: Configure Node.js | |
uses: actions/setup-node@v4.1.0 | |
with: | |
node-version: 20.x | |
cache: yarn | |
- run: yarn install --immutable | |
- name: test | |
run: yarn run test --maxWorkers=100% | |
e2e: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-20.04 | |
- windows-2019 | |
name: e2e (${{ matrix.os }}) | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- run: corepack enable | |
- name: Configure Node.js | |
uses: actions/setup-node@v4.1.0 | |
with: | |
node-version: 20.x | |
cache: yarn | |
- run: yarn install --immutable | |
- run: yarn run tsc | |
- run: node dist/bin/foxglove-extension.js --help | |
- name: create sample extension | |
run: node dist/bin/create-foxglove-extension sample | |
- name: lint generated extension code | |
working-directory: sample | |
run: npm run lint | |
- name: package generated extension | |
working-directory: sample | |
run: node dist/bin/foxglove-extension.js package |