Skip to content

Commit 4acae07

Browse files
committed
[BREAKING] update deps and node version requirements
1 parent 3870a2b commit 4acae07

File tree

3 files changed

+836
-304
lines changed

3 files changed

+836
-304
lines changed

.github/workflows/ci.yml

+29-30
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,40 @@
1-
name: 'CI'
1+
name: Continuous Integration
2+
23
on:
34
pull_request:
45
branches: [master]
56

67
jobs:
7-
test_and_lint:
8-
name: 'Test'
8+
test:
9+
name: Test
910
runs-on: ubuntu-latest
10-
timeout-minutes: 5
11-
11+
strategy:
12+
matrix:
13+
node-version: [14.x, 16.x, 18.x, 20.x]
1214
steps:
1315
- uses: actions/checkout@v2
14-
- uses: volta-cli/action@v1
15-
16-
- name: Get package manager's global cache path
17-
id: global-cache-dir-path
18-
run: echo "::set-output name=dir::$(yarn cache dir)"
19-
20-
- name: Cache package manager's global cache and node_modules
21-
id: cache-dependencies
22-
uses: actions/cache@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v3
2318
with:
24-
path: |
25-
${{ steps.global-cache-dir-path.outputs.dir }}
26-
node_modules
27-
key: ${{ runner.os }}-${{ matrix.node-version }}-${{
28-
hashFiles('**/yarn.lock'
29-
) }}
30-
restore-keys: |
31-
${{ runner.os }}-${{ matrix.node-version }}-
19+
node-version: ${{ matrix.node-version }}
20+
cache: 'yarn'
21+
- run: yarn install
22+
- run: yarn test
3223

33-
- name: Install
34-
run: yarn install
35-
36-
- name: Run tests and linting
24+
test-floating:
25+
name: Floating Dependencies
26+
runs-on: ubuntu-latest
27+
strategy:
28+
matrix:
29+
node-version: [14.x, 16.x, 18.x, 20.x]
30+
steps:
31+
- uses: actions/checkout@v2
32+
- name: Use Node.js ${{ matrix.node-version }}
33+
uses: actions/setup-node@v3
34+
with:
35+
node-version: ${{ matrix.node-version }}
36+
cache: 'yarn'
37+
- name: install dependencies
38+
run: yarn install --no-lockfile
39+
- name: test
3740
run: yarn test
38-
39-
40-
41-

package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@
2121
"core-object": "^3.1.5",
2222
"ember-cli-deploy-plugin": "^0.2.9",
2323
"git-repo-info": "^2.1.1",
24-
"minimatch": "^3.0.4",
24+
"minimatch": "^3.1.2",
2525
"rsvp": "^4.8.5",
26-
"simple-git": "^3.3.0"
26+
"simple-git": "^3.19.0"
2727
},
2828
"devDependencies": {
29-
"@octokit/rest": "^18.5.3",
30-
"chai": "^4.3.4",
29+
"@octokit/rest": "^18.12.0",
30+
"chai": "^4.3.7",
3131
"chai-as-promised": "^7.1.1",
32-
"ember-cli": "^3.26.1",
33-
"eslint": "^7.25.0",
34-
"glob": "^7.1.6",
32+
"ember-cli": "^3.28.6",
33+
"eslint": "^8.42.0",
34+
"glob": "^10.2.6",
3535
"mocha": "^8.3.2",
3636
"release-it": "^14.6.1",
3737
"release-it-lerna-changelog": "^3.1.0"
3838
},
3939
"engines": {
40-
"node": ">= 12"
40+
"node": "14.x || 16.x || 18.x || >= 20"
4141
},
4242
"publishConfig": {
4343
"registry": "https://registry.npmjs.org"
@@ -58,7 +58,7 @@
5858
}
5959
},
6060
"volta": {
61-
"node": "14.16.1",
61+
"node": "14.21.3",
6262
"yarn": "1.22.18"
6363
}
6464
}

0 commit comments

Comments
 (0)