Skip to content

Commit

Permalink
Merge pull request #70 from raegen/raegen-patch-1
Browse files Browse the repository at this point in the history
Use npm in place of yarn, use @nx/devkit ensurePackage in place of running package manager manually
  • Loading branch information
raegen committed Jun 18, 2024
2 parents 2ec0228 + a91d29d commit e87f12e
Show file tree
Hide file tree
Showing 8 changed files with 8,949 additions and 4,948 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: yarn
cache: npm

- name: Install Dependencies
id: install
run: yarn
run: npm ci

- name: Build dist/ Directory
id: build
run: yarn run bundle
run: npm run bundle

# This will fail the workflow if the PR wasn't created by Dependabot.
- name: Compare Directories
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ jobs:
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: yarn
cache: npm

- name: Install Dependencies
id: yarn
run: yarn
id: npm
run: npm ci

- name: Check Format
id: yarn-format-check
run: yarn run format:check
id: npm-format-check
run: npm run format:check

- name: Lint
id: yarn-lint
run: yarn run lint
id: npm-lint
run: npm run lint

- name: Test
id: yarn-ci-test
run: yarn run ci-test
id: npm-ci-test
run: npm run ci-test
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: yarn
cache: npm

- name: Install Dependencies
id: install
run: yarn
run: npm ci

- name: Lint Codebase
id: super-linter
Expand Down
13 changes: 2 additions & 11 deletions dist/setup.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e87f12e

Please sign in to comment.