Skip to content

Merge branch 'rbtags' #950

Merge branch 'rbtags'

Merge branch 'rbtags' #950

Workflow file for this run

name: Test
on:
pull_request:
push: {branches: main}
schedule: [{cron: '0 0 10 * *'}] # monthly https://crontab.guru/#0_0_10_*_*
workflow_dispatch:
permissions: read-all
jobs:
test:
uses: nodenv/.github/.github/workflows/test.yml@v4
with: {superlinter: false} # TODO renable superlinter
permissions:
contents: read
packages: read
id-token: write
security-events: write
statuses: write
lts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run lint:lts
checksums:
runs-on: ubuntu-latest
steps:
# FIXME workaround https://github.com/actions/checkout/issues/910
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- run: npm ci
- if: github.event_name == 'pull_request'
run: npm run lint:checksums -- origin/${{github.base_ref}}
- run: npm run lint:checksums -- HEAD^
if: github.event_name == 'push'