Skip to content

Commit

Permalink
ci: tweak ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
neochrome committed Apr 9, 2024
1 parent 523a9e1 commit ce06a7b
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: 'ci'
on:
push:
branches-ignore:
- 'mob/**'
- 'mob-session'
pull_request_target:
branches:
- 'main'

jobs:
test:
runs-on: 'ubuntu-latest'
ci:
runs-on: ubuntu-latest
steps:
- uses: 'actions/checkout@v2'
- run: |
npm ci
npm test
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'

- run: npm ci --ignore scripts
- run: npm test

0 comments on commit ce06a7b

Please sign in to comment.