Skip to content

Commit

Permalink
make tests pass, add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Feb 27, 2022
1 parent c963cd4 commit c1a831d
Show file tree
Hide file tree
Showing 6 changed files with 7,239 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: [isaacs]
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,39 @@
name: CI

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 17.x]
platform:
- os: ubuntu-latest
shell: bash
- os: macos-latest
shell: bash
- os: windows-latest
shell: bash
- os: windows-latest
shell: powershell
fail-fast: false

runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}

steps:
- name: Checkout Repository
uses: actions/checkout@v1.1.0

- name: Use Nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- name: Run Tests
run: npm test -- -c -t0
1 change: 1 addition & 0 deletions old.js
@@ -1,3 +1,4 @@
/* istanbul ignore file - tested in node */
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
Expand Down

0 comments on commit c1a831d

Please sign in to comment.