Enhance Connection Handling and Refactor Utility Functions (#528) #311
This file contains hidden or 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: "[PR] Run Tests" | |
on: | |
pull_request: | |
types: [opened, synchronize, ready_for_review, reopened] | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} | |
steps: | |
- name: Disable EOL conversions | |
run: git config --global core.autocrlf false | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Integration tests | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16' | |
- run: npm install | |
- run: npm run lint | |
- run: npm run test | |
env: | |
CLIENT_ID: ${{ secrets.CLIENT_ID }} | |
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} |