Skip to content

Commit

Permalink
Migrate to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Jun 14, 2022
1 parent b960258 commit b7dbfa3
Show file tree
Hide file tree
Showing 4 changed files with 19,832 additions and 12,005 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/ci-build.yml
Expand Up @@ -19,17 +19,17 @@ jobs:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- uses: actions/cache@v2
id: yarn-cache
id: npm-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn --frozen-lockfile
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
- run: yarn lint
- run: yarn test
${{ runner.os }}-npm-
- name: npm ci
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
- run: npm run lint
- run: npm test

floating-dependencies:
timeout-minutes: 10
Expand All @@ -42,17 +42,17 @@ jobs:
with:
node-version: 16.x
- uses: actions/cache@v2
id: yarn-cache
id: npm-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn --frozen-lockfile
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
- run: yarn install --no-lockfile
- run: yarn test
${{ runner.os }}-npm-
- name: npm ci
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
- run: npm install --no-shrinkwrap
- run: npm test

try-scenarios:
timeout-minutes: 10
Expand Down Expand Up @@ -81,14 +81,14 @@ jobs:
with:
node-version: 16.x
- uses: actions/cache@v2
id: yarn-cache
id: npm-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn --frozen-lockfile
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
${{ runner.os }}-npm-
- name: npm ci
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
- name: test
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup

0 comments on commit b7dbfa3

Please sign in to comment.