Fix linting #140
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: NodeJS | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
node: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node-version: [12.x, 14.x, 16.x, 18.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Fix Windows Git autocrlf | |
run: git config --global core.autocrlf false | |
if: matrix.os == 'windows-latest' | |
- 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 --ignore-scripts | |
- run: npm run lint | |
- run: npm run build | |
- run: npm run test | |
env: | |
XUMM_APIKEY: aaaaaaaa-cccc-eeee-1111-333333333333 | |
XUMM_APISECRET: bbbbbbbb-dddd-ffff-2222-444444444444 |