Skip to content

Change slack to discord #374

Change slack to discord

Change slack to discord #374

Workflow file for this run

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
- name: Configure Node.js
uses: actions/setup-node@v4.1.0
with:
node-version: 20.x
#cache: yarn
- run: corepack enable
- run: yarn install --immutable
- run: yarn run tsc
# generate an extension using the in-repo create-foxglove-extension script
- name: create sample extension
run: node dist/bin/create-foxglove-extension sample
# confirm that the generated extension code passes lint
- name: lint generated extension code
working-directory: sample
run: npm run lint
# confirm that the generated extension code can be packaged with updated latest version of
# foxglove-extension scripts
#
# Note: this does not use the `npm run package` command since that would use the
# version of foxglove-extension scripts specified in the package.json which is not the local
# version of the scripts.
- name: package generated extension
working-directory: sample
run: node ../dist/bin/foxglove-extension.js package