Skip to content

Update node.js.yml #146

Update node.js.yml

Update node.js.yml #146

Workflow file for this run

name: NodeJS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
node:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
group: [self-hosted]
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