Skip to content

Commit

Permalink
ci: replace yarn with npm
Browse files Browse the repository at this point in the history
Signed-off-by: Antonette Caldwell <[email protected]>
  • Loading branch information
nebula-aac committed Dec 17, 2023
1 parent 494ece9 commit bd317ac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 84 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: yarn install
run: npm install

- name: Run Lint
run: yarn lint
run: npm run lint
76 changes: 0 additions & 76 deletions .github/workflows/pre-release.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Specify the version type (path, minor, major)'
description: 'Specify the version type (patch, minor, major)'
required: true
default: 'patch'

Expand All @@ -29,8 +29,8 @@ jobs:

- name: Install deps and build
run: |
yarn
yarn build-all
npm install
npm run build
- name: Initialize the NPM config
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/storybook-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: yarn install
run: npm install

- name: Build Storybook
run: |
cd apps/design-system
yarn install
yarn build-storybook
npm install
npm build-storybook
- name: Deploy Storybook
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit bd317ac

Please sign in to comment.