Skip to content

runt

runt #15

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- master
jobs:
test-build-prettier:
name: Build, Test and check prettier
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
max: 5

Check failure on line 20 in .github/workflows/tests.yaml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yaml (Line: 20, Col: 7): Unexpected value 'max'
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm ci
- name: Build
run: |
npm run build
- name: Run Jest Test
run: |
npm run test
- name: Run Prettier
run: |
npm run lint:prettier
- name: Run with txt sitemap
run: |
node dist/src/index.js https://www.advancedhtml.co.uk/sitemap.txt -p 3
- name: Run with xml with final links
run: |
node dist/src/index.js https://www.profiq.com/wp-sitemap-posts-job-1.xml -t 4500
- name: Run with xml with nested links
run: |
node dist/src/index.js https://movingfast.tech/sitemap.xml -w