Skip to content

Commit

Permalink
Merge pull request #38 from giuseppeg/chore/gh-actions
Browse files Browse the repository at this point in the history
Move from Travis CI to Github Actions
  • Loading branch information
ai committed Nov 30, 2023
2 parents c7df004 + d4ac39b commit 1d48493
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 20
- 18
- 16
- 14
- 12
- 10
- 8
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile --ignore-scripts --ignore-engines
- name: Run unit tests
run: yarn test
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit 1d48493

Please sign in to comment.