Skip to content

Commit

Permalink
ci: Update GitHub action & Node.js versions
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Feb 24, 2024
1 parent 1838a66 commit be11591
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/browsers.yml
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with: { submodules: true }
- uses: actions/setup-node@v3
with: { node-version: 16 }
- uses: actions/setup-node@v4
with: { node-version: 20 }
- name: Cache BrowserStackLocal
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.browserstack
key: bsl-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -14,11 +14,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with: { languages: javascript }

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
12 changes: 6 additions & 6 deletions .github/workflows/nodejs.yml
Expand Up @@ -14,13 +14,13 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14, 16, latest]
node-version: [14, 16, 20, latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with: { submodules: true }
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- if: matrix.node-version == 14
Expand All @@ -33,9 +33,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with: { node-version: 16 }
uses: actions/setup-node@v4
with: { node-version: 20 }
- run: npm ci
- run: npm run lint
6 changes: 3 additions & 3 deletions .github/workflows/typescript.yml
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with: { node-version: 16 }
uses: actions/setup-node@v4
with: { node-version: 20 }
- run: npm ci
- run: npm run build:node
- run: npm run test:types
Expand Down
2 changes: 1 addition & 1 deletion playground
Submodule playground updated 1 files
+2,115 −2,086 package-lock.json

0 comments on commit be11591

Please sign in to comment.