Skip to content

Update test.yml and package.json #174

Update test.yml and package.json

Update test.yml and package.json #174

Workflow file for this run

name: Test
on:
push:
branches:
- master
- gh-action-debug
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18']
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version}}
- run: npm install
- run: npm run lint
- run: |
ulimit -c unlimited
sudo mkdir -p /var/ndbug
sudo npm test
sudo chmod -R +rw /var/ndbug
continue-on-error: true
- name: Upload core dumps
uses: actions/upload-artifact@v2
with:
name: core-dumps
path: /var/ndbug