Skip to content

Update test workflow to include core dump handling #170

Update test workflow to include core dump handling

Update test workflow to include core dump handling #170

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: ['16', '18', '20']
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 npm test
sudo chmod -R +rw /var/crash
- name: Upload core dumps
uses: actions/upload-artifact@v2
with:
name: core-dumps
path: /var/crash