Skip to content

Update TS to ES2022 (supported by our engines anyway) #107

Update TS to ES2022 (supported by our engines anyway)

Update TS to ES2022 (supported by our engines anyway) #107

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build & test
runs-on: ubuntu-latest
container:
image: httptoolkit/act-build-base:v3.0.0
options: --privileged # Required for Frida attach in tests
strategy:
matrix:
node-version: [18.x, 20.x, v20.11.1, 22.x, '*']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
check-latest: true
cache: 'npm'
cache-dependency-path: 'package.json'
- run: npm install
- name: 'Allow attaching to running Linux processes'
run: sudo sysctl kernel.yama.ptrace_scope=0
- run: npm test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}