Skip to content

Commit

Permalink
Update dev deps and switch to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Jul 23, 2024
1 parent 73cb4ef commit c454e16
Show file tree
Hide file tree
Showing 5 changed files with 4,959 additions and 2,594 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Tests

on: [push, pull_request]

env:
FORCE_COLOR: 2

jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node: [20, 22]
os: [ubuntu-latest, windows-latest]

steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- name: Install npm dependencies
run: npm i

- name: Run tests
run: npm test

# We test multiple Windows shells because of prior stdout buffering issues
# filed against Grunt. https://github.com/joyent/node/issues/3584
- name: Run PowerShell tests
run: "npm test # PowerShell" # Pass comment to PS for easier debugging
shell: powershell
if: startsWith(matrix.os, 'windows')
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

40 changes: 0 additions & 40 deletions appveyor.yml

This file was deleted.

Loading

0 comments on commit c454e16

Please sign in to comment.