-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #176 from ember-cli-deploy/update-deps
[BREAKING] update dependencies and node version requirements
- Loading branch information
Showing
3 changed files
with
827 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.