Skip to content

Commit e3a3ca5

Browse files
committed
Update workflows Part 2
1 parent 351b6a9 commit e3a3ca5

File tree

6 files changed

+21
-14
lines changed

6 files changed

+21
-14
lines changed

.github/workflows/bundlewatch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
FORCE_COLOR: 2
12-
NODE: 18
12+
NODE: 22
1313

1414
permissions:
1515
contents: read
@@ -25,7 +25,7 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Set up Node.js
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: "${{ env.NODE }}"
3131
cache: npm

.github/workflows/codeql.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
- cron: "0 0 * * 0"
1515
workflow_dispatch:
1616

17+
env:
18+
FORCE_COLOR: 2
19+
1720
jobs:
1821
analyze:
1922
name: Analyze
@@ -29,16 +32,16 @@ jobs:
2932

3033
# Initializes the CodeQL tools for scanning.
3134
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v2
35+
uses: github/codeql-action/init@v3
3336
with:
3437
languages: "javascript"
3538
config-file: ./.github/codeql/codeql-config.yml
3639
queries: +security-and-quality
3740

3841
- name: Autobuild
39-
uses: github/codeql-action/autobuild@v2
42+
uses: github/codeql-action/autobuild@v3
4043

4144
- name: Perform CodeQL Analysis
42-
uses: github/codeql-action/analyze@v2
45+
uses: github/codeql-action/analyze@v3
4346
with:
4447
category: "/language:javascript"

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
FORCE_COLOR: 2
12-
NODE: 18
12+
NODE: 22
1313

1414
permissions:
1515
contents: read
@@ -25,7 +25,7 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Set up Node.js
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: "${{ env.NODE }}"
3131
cache: npm

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
FORCE_COLOR: 2
12-
NODE: 18
12+
NODE: 22
1313

1414
permissions:
1515
contents: read
@@ -25,7 +25,7 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Set up Node.js
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: "${{ env.NODE }}"
3131
cache: npm

.github/workflows/node-sass.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
FORCE_COLOR: 2
12-
NODE: 18
12+
NODE: 22
1313

1414
permissions:
1515
contents: read
@@ -25,7 +25,7 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Set up Node.js
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: "${{ env.NODE }}"
3131
cache: npm

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
tags:
66
- '*'
77

8+
env:
9+
FORCE_COLOR: 2
10+
NODE: 22
11+
812
jobs:
913
build:
1014
runs-on: ubuntu-latest
@@ -18,7 +22,7 @@ jobs:
1822
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1923

2024
- name: Set up Node.js
21-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2226
with:
2327
node-version: "${{ env.NODE }}"
2428
cache: npm
@@ -32,7 +36,7 @@ jobs:
3236
- name: Zip distribution files
3337
uses: montudor/action-zip@v1
3438
with:
35-
args: "zip -qq admin-lte-${{env.RELEASE_VERSION}}.zip -d dist"
39+
args: "zip -qq -r admin-lte-${{env.RELEASE_VERSION}}.zip dist"
3640

3741
- name: Create changelog text
3842
id: changelog
@@ -47,4 +51,4 @@ jobs:
4751
with:
4852
body: ${{ steps.changelog.outputs.changelog }}
4953
files: |
50-
admin-lte.${{env.RELEASE_VERSION}}.zip
54+
admin-lte-${{env.RELEASE_VERSION}}.zip

0 commit comments

Comments
 (0)