Skip to content

Commit

Permalink
Merge pull request #2 from screencloud/feat-travis-migrate-to-gh-action
Browse files Browse the repository at this point in the history
feat(ci): Travis Migration to GH Actions
  • Loading branch information
gogotaro authored Oct 31, 2022
2 parents 05f78a8 + d69bf78 commit 2bc6014
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: test

on:
push:
branches:
- '**'

env:
NODE_VERSION: '19.0.0'

jobs:

test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: setup (${{ env.NODE_VERSION }})
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: test
run: |
export DISPLAY=:99.0
npm install
xvfb-run --auto-servernum npm test

0 comments on commit 2bc6014

Please sign in to comment.