We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f9b58 commit e411422Copy full SHA for e411422
.github/workflows/run-tests.yml
@@ -5,7 +5,16 @@ on:
5
types: [opened, synchronize]
6
7
jobs:
8
- lint:
+ run-tests:
9
+ strategy:
10
+ fail-fast: false
11
+ matrix:
12
+ node-version:
13
+ # This is the version used by LeetCode.
14
+ - 20.10.0
15
+ - lts
16
+ - latest
17
+
18
runs-on: ubuntu-latest
19
20
steps:
.github/workflows/set-up-everything/action.yml
@@ -1,5 +1,10 @@
1
name: Set Up Everything
2
3
+inputs:
4
+ required: true
+ default: latest
runs:
using: composite
@@ -17,7 +22,7 @@ runs:
22
- name: Set up Node
23
uses: actions/setup-node@v4
24
with:
- node-version: 22
25
+ node-version: ${{ inputs.node-version }}
21
26
cache: yarn
27
cache-dependency-path: ./yarn.lock
28
0 commit comments