Skip to content

Commit 788a9cc

Browse files
committed
update workflows
1 parent 2f2c906 commit 788a9cc

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master, develop ]
16+
branches: [ master, develop, next/* ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ master, develop ]
19+
branches: [ master, develop, next/* ]
2020
schedule:
2121
- cron: '35 18 1 * *'
2222

@@ -43,23 +43,23 @@ jobs:
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v1
46+
uses: github/codeql-action/init@v3
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
5050
# By default, queries listed here will override any specified in a config file.
5151
# Prefix the list here with "+" to use these queries and those in the config file.
5252
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5353
- name: Cache node modules (if needed)
54-
uses: actions/cache@v2
54+
uses: actions/cache@v4
5555
id: cache
5656
with:
5757
path: node_modules
5858
key: ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('yarn.lock') }}
5959
- name: Install package (if needed)
6060
if: steps.cache.outputs.cache-hit != 'true'
61-
run: yarn install
61+
run: npm install -g yarn@berry && yarn install
6262
- name: Build TypeScript
6363
run: yarn build
6464
- name: Perform CodeQL Analysis
65-
uses: github/codeql-action/analyze@v1
65+
uses: github/codeql-action/analyze@v3

.github/workflows/gh_pages_doc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
steps:
99
- uses: actions/checkout@v4
1010
- name: Use Node.js 16.x
11-
uses: actions/setup-node@v2
11+
uses: actions/setup-node@v4
1212
with:
1313
node-version: "lts/*"
1414
- name: Install package
15-
run: yarn install
15+
run: npm install -g yarn@berry && yarn install
1616
- name: Build TS
1717
run: yarn build
1818
- name: Generate documentation

.github/workflows/npm_release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313
# Setup .npmrc file to publish to npm
14-
- uses: actions/setup-node@v2
14+
- uses: actions/setup-node@v4
1515
with:
1616
node-version: 'lts/*'
1717
registry-url: 'https://registry.npmjs.org'
18-
- run: yarn install
18+
- name: Package install
19+
run: npm install -g yarn@berry && yarn install
1920
- run: yarn build
2021
- run: yarn publish
2122
env:

0 commit comments

Comments
 (0)