Update node version and add continue-on-error flag #171
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: | |
- master | |
- gh-action-debug | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['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: | | |
sudo ulimit -c unlimited | |
sudo npm test | |
sudo chmod -R +rw /var/crash | |
continue-on-error: true | |
- name: Upload core dumps | |
uses: actions/upload-artifact@v2 | |
with: | |
name: core-dumps | |
path: /var/crash |