Support non-200 response status codes #266
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: | |
pull_request: | |
jobs: | |
test-full: | |
runs-on: ubuntu-latest | |
concurrency: testwiki | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: npm ci | |
- run: npm test | |
env: | |
MEDIAWIKI_USERNAME: ${{ secrets.MEDIAWIKI_USERNAME }} | |
MEDIAWIKI_PASSWORD: ${{ secrets.MEDIAWIKI_PASSWORD }} | |
test-package-lock: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: npm i --package-lock-only | |
- run: git diff --exit-code |