Skip to content

Commit

Permalink
Reuse test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkarns committed May 30, 2024
1 parent e996bab commit 1bbaf1c
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
name: Test
on:
pull_request:
push: { branches: main }
push: {branches: main}
schedule: [{cron: '0 0 10 * *'}] # monthly https://crontab.guru/#0_0_10_*_*
workflow_dispatch:

permissions: read-all

jobs:
test:
runs-on: ${{ matrix.os }}-latest
strategy: { matrix: { os: [ubuntu, macOS] }}
steps:
- uses: actions/checkout@v4
- run: npm cit
uses: nodenv/.github/.github/workflows/test.yml@v4
permissions:
contents: read
packages: read
id-token: write
security-events: write
statuses: write

lts:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1bbaf1c

Please sign in to comment.