Skip to content

Commit

Permalink
workflow: migrate to GitHub Actions (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 2, 2022
1 parent 6770bcc commit e53d62f
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 887 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,38 @@
name: Test

on:
push:
branches:
- main
- master

pull_request:
branches:
- main
- master

jobs:
build:
runs-on: ${{ matrix.os }}

timeout-minutes: 10

strategy:
matrix:
node_version: [10.x, 14.x, 16.x]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false

steps:
- uses: actions/checkout@v2

- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}

- name: Install
run: npm i

- name: Test
run: npm test
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

13 changes: 0 additions & 13 deletions appveyor.yml

This file was deleted.

22 changes: 0 additions & 22 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit e53d62f

Please sign in to comment.