Fix directory name and remove unnecessary flag in test script #175
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: ['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/ndebug | |
sudo npm test | |
sudo chmod -R +rw /var/ndebug | |
continue-on-error: true | |
- name: Upload core dumps | |
uses: actions/upload-artifact@v2 | |
with: | |
name: core-dumps | |
path: /var/ndebug |