Skip to content

Commit

Permalink
chore(install): switch to npm from yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMason committed Nov 12, 2023
1 parent 8c57473 commit a949c9a
Show file tree
Hide file tree
Showing 7 changed files with 12,201 additions and 13,692 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
cache: yarn
cache: npm
node-version: ${{ matrix.node-version }}

- name: Install
run: yarn install --frozen-lockfile
run: npm ci

- name: Build
run: yarn build
run: npm run build
env:
FORCE_COLOR: 3
TERM: xterm-256color
Expand All @@ -36,13 +36,13 @@ jobs:

- name: Lint
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
run: yarn lint
run: npm run lint
env:
FORCE_COLOR: 3
TERM: xterm-256color

- name: Test
run: yarn test
run: npm run test
env:
FORCE_COLOR: 3
TERM: xterm-256color
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache: npm

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci
- name: Build website
run: yarn build
run: npm run build

# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache: npm

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci
- name: Test build website
run: yarn build
run: npm run build
Loading

0 comments on commit a949c9a

Please sign in to comment.