Skip to content

Commit

Permalink
Merge pull request #97 from ember-cli-deploy/update-deps
Browse files Browse the repository at this point in the history
[BREAKING] update deps and node version requirements # Do not modify or remove the line above. # Everything below it will be ignored.
  • Loading branch information
lukemelia authored Jun 4, 2023
2 parents 3870a2b + 4acae07 commit 82fbea8
Show file tree
Hide file tree
Showing 3 changed files with 836 additions and 304 deletions.
59 changes: 29 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,40 @@
name: 'CI'
name: Continuous Integration

on:
pull_request:
branches: [master]

jobs:
test_and_lint:
name: 'Test'
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 5

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1

- name: Get package manager's global cache path
id: global-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache package manager's global cache and node_modules
id: cache-dependencies
uses: actions/cache@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
path: |
${{ steps.global-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-${{
hashFiles('**/yarn.lock'
) }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install
- run: yarn test

- name: Install
run: yarn install

- name: Run tests and linting
test-floating:
name: Floating Dependencies
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: install dependencies
run: yarn install --no-lockfile
- name: test
run: yarn test




18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@
"core-object": "^3.1.5",
"ember-cli-deploy-plugin": "^0.2.9",
"git-repo-info": "^2.1.1",
"minimatch": "^3.0.4",
"minimatch": "^3.1.2",
"rsvp": "^4.8.5",
"simple-git": "^3.3.0"
"simple-git": "^3.19.0"
},
"devDependencies": {
"@octokit/rest": "^18.5.3",
"chai": "^4.3.4",
"@octokit/rest": "^18.12.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"ember-cli": "^3.26.1",
"eslint": "^7.25.0",
"glob": "^7.1.6",
"ember-cli": "^3.28.6",
"eslint": "^8.42.0",
"glob": "^10.2.6",
"mocha": "^8.3.2",
"release-it": "^14.6.1",
"release-it-lerna-changelog": "^3.1.0"
},
"engines": {
"node": ">= 12"
"node": "14.x || 16.x || 18.x || >= 20"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand All @@ -58,7 +58,7 @@
}
},
"volta": {
"node": "14.16.1",
"node": "14.21.3",
"yarn": "1.22.18"
}
}
Loading

0 comments on commit 82fbea8

Please sign in to comment.