Skip to content

Commit

Permalink
migrating to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengill committed Jan 4, 2021
1 parent 2e9ad58 commit dc9189a
Show file tree
Hide file tree
Showing 3 changed files with 304 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x] #TODO need to add 10.x in here (After getting oauth tests to work)

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run setup
- run: npm run lint
- run: npm run test
# - run: npm run coverage
272 changes: 272 additions & 0 deletions examples/oauth-v2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dc9189a

Please sign in to comment.