Skip to content

Commit

Permalink
Meta: run reference-implementation tests on GitHub Actions
Browse files Browse the repository at this point in the history
This makes the .travis.yml like the other repos to make changes from
whatwg/spec-factory#14 smaller.
  • Loading branch information
foolip committed Jun 12, 2020
1 parent caf3cea commit 37e6f51
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: test
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-20.04
defaults:
run:
working-directory: reference-implementation
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm install
- run: npm test
8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
language: node_js
node_js: stable
language: generic

env:
global:
- ENCRYPTION_LABEL="4a24edc7e7d1"

before_install:
- cd reference-implementation

script:
- npm test
- cd ..
- make deploy

branches:
Expand Down

0 comments on commit 37e6f51

Please sign in to comment.