Skip to content

chore: Rename default branch as main #39

chore: Rename default branch as main

chore: Rename default branch as main #39

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
node:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12, 14, 16, 18, latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- if: matrix.node-version <= 14
run: npm install --global npm@7
- run: npm ci
- if: matrix.node-version == 12
run: npm install mocha@9
- run: npm run build
- run: npm test