Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 0 additions & 82 deletions .circleci/config.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build

permissions:
contents: read

on:
workflow_call:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'npm'

- name: Install latest npm
run: npm install -g npm@latest

- name: Install dependencies
run: npm ci

# required for browser output-integration tests
- name: Setup Chrome
uses: browser-actions/setup-chrome@v2
with:
install-chromedriver: true

- name: Build
run: npm run build
env:
# required for browser output-integration tests
PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome

- name: Save Build folders
uses: actions/cache/save@v4
with:
path: |
dist
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}
139 changes: 139 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
name: Run Checks

permissions:
contents: read

on:
workflow_call:

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'npm'

- name: Install latest npm
run: npm install -g npm@latest

- name: Install dependencies
run: npm ci

- name: Run linter
run: npm run lint

prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'npm'

- name: Install latest npm
run: npm install -g npm@latest

- name: Install dependencies
run: npm ci

- name: Check prettier formatting
run: npm run prettier:check

test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'npm'

- name: Install latest npm
run: npm install -g npm@latest

- name: Install dependencies
run: npm ci

- name: Restore the build folders
uses: actions/cache/restore@v4
with:
path: |
dist
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}

- name: Run tests
run: npm test

test-bundle-size:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'npm'

- name: Install latest npm
run: npm install -g npm@latest

- name: Install dependencies
run: npm ci

- name: Restore the build folders
uses: actions/cache/restore@v4
with:
path: |
dist
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}

- name: Test bundle size
run: npm run test:size

test-types:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'npm'

- name: Install latest npm
run: npm install -g npm@latest

- name: Install dependencies
run: npm ci

- name: Restore the build folders
uses: actions/cache/restore@v4
with:
path: |
dist
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}

- name: Test TypeScript types
run: npm run test:types
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
security-events: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: actions

- name: Run CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: actions
Loading
Loading