Skip to content

bump

bump #187

Workflow file for this run

name: CI
on:
push:
branches:
- main
env:
TZ: "America/New_York"
jobs:
ci:
name: CI
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
TEST262_NODE_VERSION: [14.21.3, 16.20.0, 18.19.0, 20.10.0]
include:
- TEST262_NODE_VERSION: 14.21.3
LINTING: 1
- TEST262_NODE_VERSION: 16.20.0
TEST262_ESM: 1
- TEST262_NODE_VERSION: 18.19.0
TEST262_ESM: terser
- TEST262_NODE_VERSION: 20.10.0
TEST262_ESM: swc
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup PNPM
uses: pnpm/[email protected]
with:
version: 8.6.3
- name: Setup Node
uses: actions/setup-node@v3
with:
# NOTE: keep synced with .npmrc
node-version: 18.19.0
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Lint
if: matrix.LINTING
run: pnpm run lint
- name: Build
run: >
TEST262_ESM=${{ matrix.TEST262_ESM }}
pnpm run build
- name: Test
run: >
TEST262_NODE_VERSION=${{ matrix.TEST262_NODE_VERSION }}
TEST262_ESM=${{ matrix.TEST262_ESM }}
pnpm run test