Skip to content

Version 0.17.0

Version 0.17.0 #25

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: |
npm install
gulp make-ts-defs
gulp lint
gulp bundle:cjs bundle:esm bundle:global
- uses: actions/upload-artifact@v3
with:
name: lib
path: lib
node-test:
name: Test (Node.js ${{ matrix.node-version }})
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['16.0.0', '16', '18', '20']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- uses: actions/download-artifact@v3
with:
name: lib
path: lib
- run: |
npm test -- .cjs
npm test -- .mjs
npm test -- .min.mjs
npm test -- .js
npm test -- .min.js
deno-test:
name: Test (Deno ${{ matrix.deno-version }})
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
deno-version: [v1.24, v1.x]
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- uses: actions/download-artifact@v3
with:
name: lib
path: lib
- run: |
deno run --allow-env --allow-read test/deno-spec-runner.mjs .mjs
deno run --allow-env --allow-read test/deno-spec-runner.mjs .min.mjs
deno run --allow-env --allow-read test/deno-spec-runner.mjs .js
deno run --allow-env --allow-read test/deno-spec-runner.mjs .min.js