Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Nov 12, 2019
1 parent f753744 commit 431716d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Node CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

#strategy:
# matrix:
# node-version: [8.x, 10.x, 12.x]

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test -- --ci
env:
CI: true
- name: saucelabs
env:
CI: true
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: |
npm run test:browser

0 comments on commit 431716d

Please sign in to comment.