Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,20 @@ jobs:
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .node-version
cache: npm

- name: Enable Corepack
run: corepack enable

- name: Remove dist/ Directory
id: remove-dist
run: npx rimraf ./dist
run: pnpm dlx rimraf ./dist

- name: Install dependencies
run: npm ci
run: pnpm install

- name: Rebuild the dist/ directory
run: |
npm run all
pnpm run all

# This will fail the workflow if the `dist/` directory is different than
# expected.
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .node-version
cache: npm

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: npm ci
run: pnpm install

- name: Run Lint and prettier
run: |
npm run lint
pnpm run lint
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
Expand Down Expand Up @@ -98,4 +99,4 @@ Thumbs.db
__tests__/runner/*
lib/**/*

.idea
.idea
Loading
Loading