Skip to content

Commit

Permalink
ci/cd: run on dev branches as well + run on node 22 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthvp committed Nov 13, 2024
1 parent c046506 commit 95f20aa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ name: Node.js CI

on:
push:
branches: [master]
branches:
- master
- develop
- dev/**
paths:
- 'src/**'
- 'tests/**'
Expand Down Expand Up @@ -40,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 16.x, 18.x]
node-version: [10.x, 16.x, 18.x, 22.x]
needs: build
steps:
- uses: actions/checkout@v4
Expand All @@ -61,6 +64,7 @@ jobs:
path: coverage

coveralls:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
needs: test
steps:
Expand All @@ -76,6 +80,7 @@ jobs:

# Upload coverage report to toolforge as well
upload_coverage:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
needs: test
steps:
Expand All @@ -99,6 +104,7 @@ jobs:
key: ${{ secrets.TOOLFORGE_PRIVATE_KEY }}

mirror:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: 'CodeQL'

on:
pull_request:
branches: [master, develop]
branches:
- master
- develop
- dev/**
paths:
- 'src/**'
- 'tests/**'
Expand Down

0 comments on commit 95f20aa

Please sign in to comment.