Skip to content

Commit 33251d2

Browse files
author
Robert Jackson
committed
Replace yarn with npm
1 parent 0bde0ba commit 33251d2

5 files changed

Lines changed: 3454 additions & 14487 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,18 @@ jobs:
3535
uses: actions/checkout@v1
3636
- name: Set up Volta
3737
uses: volta-cli/action@v1
38-
- name: Install dependencies (yarn)
39-
if: matrix.scenario == 'default-with-lockfile'
40-
run: yarn install --non-interactive --frozen-lockfile
41-
- name: Install dependencies (yarn)
42-
if: matrix.scenario != 'default-with-lockfile'
43-
run: yarn install --non-interactive --no-lockfile
38+
- name: Install dependencies
39+
run: npm ci
4440
- name: Setup ember-try scenario
45-
if: matrix.scenario != 'default' && matrix.scenario != 'default-with-lockfile'
41+
if: matrix.scenario != 'default-with-lockfile'
4642
run: >-
47-
yarn ember try:one ember-${{ matrix.scenario }} --skip-cleanup ---
43+
npx ember try:one ember-${{ matrix.scenario }} --skip-cleanup ---
4844
'[ -z "$EMBER_OPTIONAL_FEATURES" ] || echo "EMBER_OPTIONAL_FEATURES=$EMBER_OPTIONAL_FEATURES" >> $GITHUB_ENV'
49-
- name: Lint (hbs)
50-
run: yarn lint:hbs
51-
- name: Lint (js)
52-
run: yarn lint:js
45+
- name: Lint
46+
run: npm run lint
5347
- name: Build
5448
run: yarn ember build --environment test
5549
- name: Run test
5650
# Due to a bug in ember-cli, running `ember test` with `--path` doesn't set `EMBER_ENV=test`
5751
# See https://github.com/ember-cli/ember-cli/issues/8922
58-
run: EMBER_ENV=test yarn test --path dist
52+
run: EMBER_ENV=test npm run test:ember -- --path dist

config/ember-try.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const { embroiderSafe, embroiderOptimized } = require('@embroider/test-setup');
55

66
module.exports = async function () {
77
return {
8-
useYarn: true,
98
scenarios: [
109
{
1110
name: 'ember-lts-3.16',

0 commit comments

Comments
 (0)