Skip to content

Commit

Permalink
chore: Adjust branch params, update action version (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
CookieCookson authored Dec 14, 2023
1 parent 9c4259b commit 40909b2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ name: "CodeQL"

on:
push:
branches: [develop, version/2.x.x]
branches:
- 'develop'
- 'version/2.x.x'
pull_request:
# The branches below must be a subset of the branches above
branches: [develop, version/2.x.x]
branches:
- 'develop'
- 'version/2.x.x'
schedule:
- cron: '0 3 * * 3'

Expand All @@ -30,7 +34,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,25 @@ name: Test

on:
push:
branches: [develop, version/2.x.x]
branches:
- 'develop'
- 'version/2.x.x'
pull_request:
branches: [develop, version/2.x.x]
branches:
- 'develop'
- 'version/2.x.x'

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js 18
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 18

- name: Install Dependencies
run: npm ci
Expand Down

0 comments on commit 40909b2

Please sign in to comment.