Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BREAKING] update dependencies and node version requirements #176

Merged
merged 1 commit into from
Jun 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 25 additions & 36 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,40 @@
name: CI
name: Continuous Integration

on:
push:
branches:
- master
pull_request:

env:
NODE_VERSION: '12.x'

jobs:
test:
name: Tests
name: Test
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:
fetch-depth: 1

- uses: actions/setup-node@v2-beta
with:
node-version: '${{ env.NODE_VERSION }}'

- name: Get package manager's global cache path
id: global-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install
- run: yarn test

- name: Cache package manager's global cache and node_modules
id: cache-dependencies
uses: actions/cache@v2
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:
path: |
${{ steps.global-cache-dir-path.outputs.dir }}
node_modules
key: v1-${{ runner.os }}-${{ matrix.node-version }}-${{
hashFiles('**/yarn.lock'
) }}
restore-keys: |
v1-${{ runner.os }}-${{ matrix.node-version }}-

- name: Install Dependencies
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: install dependencies
run: yarn install --no-lockfile
if: |
steps.cache-dependencies.outputs.cache-hit != 'true'

- name: Test
- name: test
run: yarn test


16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,27 @@
"aws-sdk": "^2.1354.0",
"chalk": "^4.1.0",
"core-object": "^3.1.5",
"ember-cli-deploy-plugin": "^0.2.2",
"ember-cli-deploy-plugin": "^0.2.9",
"lodash": "^4.17.21",
"mime": "^2.5.2",
"mime": "^3.0.0",
"minimatch": "^3.0.3",
"proxy-agent": "^5.0.0",
"rsvp": "^4.8.5"
},
"devDependencies": {
"chai": "^4.3.3",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"ember-cli": "^3.25.2",
"eslint": "^7.21.0",
"ember-cli": "^3.28.6",
"eslint": "^8.42.0",
"github": "^14.0.0",
"glob": "^7.1.1",
"glob": "^10.2.6",
"mocha": "^8.3.1",
"multiline": "^2.0.0",
"release-it": "14.4.1",
"release-it-lerna-changelog": "^3.1.0"
},
"engines": {
"node": ">= 10.*"
"node": "14.x || 16.x || 18.x || >= 20.*"
},
"ember-addon": {
"before": "ember-cli-deploy-redis"
Expand All @@ -64,7 +64,7 @@
}
},
"volta": {
"node": "16.13.2",
"node": "16.20.0",
"yarn": "1.22.17"
}
}
Loading