test #61
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.operating-system }} | |
steps: | |
- name: Disable EOL conversions | |
run: git config --global core.autocrlf false | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Smoke test | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12' | |
- run: npm install | |
- run: npm run build | |
- run: cd smoke_test | |
- run: npm install request | |
- run: npm install request-promise | |
- run: ./node_modules/mocha/bin/mocha smoke_test/smoke_test.js | |
env: | |
CLIENT_ID: ${{ secrets.CLIENT_ID }} | |
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} |