Skip to content

Commit 53a7bb0

Browse files
committed
chore(ci): update workflows to new Node.js versions
1 parent f5adf27 commit 53a7bb0

File tree

3 files changed

+15
-37
lines changed

3 files changed

+15
-37
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ubuntu-latest]
20-
node: [10, 12, 14]
20+
node: [12, 14, 16]
2121

2222
steps:
2323
- name: Clone repository
@@ -50,6 +50,6 @@ jobs:
5050

5151
- name: BundleWatch
5252
run: yarn run bundlewatch
53-
if: matrix.node == '14'
53+
if: matrix.node == '16'
5454
env:
5555
BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"

.github/workflows/codeql.yml

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@ name: "CodeQL"
22

33
on:
44
push:
5+
branches:
6+
- dev
7+
- master
8+
- "!dependabot/**"
59
pull_request:
10+
# The branches below must be a subset of the branches above
11+
branches:
12+
- dev
13+
- master
14+
- "!dependabot/**"
615
schedule:
716
- cron: "0 2 * * 5"
817

@@ -11,48 +20,18 @@ jobs:
1120
name: Analyze
1221
runs-on: ubuntu-latest
1322

14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
language: ["javascript"]
18-
1923
steps:
2024
- name: Checkout repository
2125
uses: actions/checkout@v2
22-
with:
23-
# We must fetch at least the immediate parents so that if this is
24-
# a pull request then we can checkout the head
25-
fetch-depth: 2
26-
27-
# If this run was triggered by a pull request event, then checkout
28-
# the head of the pull request instead of the merge commit
29-
- run: git checkout HEAD^2
30-
if: ${{ github.event_name == 'pull_request' }}
3126

3227
# Initializes the CodeQL tools for scanning.
3328
- name: Initialize CodeQL
3429
uses: github/codeql-action/init@v1
3530
with:
36-
languages: ${{ matrix.language }}
37-
# If you wish to specify custom queries, you can do so here or in a config file
38-
# By default, queries listed here will override any specified in a config file
39-
# Prefix the list here with "+" to use these queries and those in the config file
40-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
31+
languages: "javascript"
4132

42-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java)
43-
# If this step fails, then you should remove it and run the build manually (see below)
4433
- name: Autobuild
4534
uses: github/codeql-action/autobuild@v1
4635

47-
# ℹ️ Command-line programs to run using the OS shell.
48-
# 📚 https://git.io/JvXDl
49-
50-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines and
51-
# modify them (or add more) to build your code if your project uses a compiled language
52-
53-
#- run: |
54-
# make bootstrap
55-
# make release
56-
5736
- name: Perform CodeQL Analysis
5837
uses: github/codeql-action/analyze@v1

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ubuntu-latest]
20-
node: [14]
20+
node: [16]
2121

2222
steps:
2323
- name: Clone repository
@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
matrix:
5656
os: [ubuntu-latest]
57-
node: [14]
57+
node: [16]
5858

5959
steps:
6060
- name: Clone repository
@@ -91,7 +91,7 @@ jobs:
9191
strategy:
9292
matrix:
9393
os: [ubuntu-latest]
94-
node: [10, 12, 14]
94+
node: [12, 14, 16]
9595

9696
steps:
9797
- name: Clone repository
@@ -124,7 +124,6 @@ jobs:
124124

125125
- name: CodeCov
126126
uses: codecov/codecov-action@v1
127-
if: matrix.node == '14'
128127
with:
129128
token: ${{ secrets.CODECOV_TOKEN }}
130129
flags: unittests

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy