Skip to content

Commit

Permalink
Convert build to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
alephtwo committed Jun 30, 2024
1 parent 0de9c90 commit b90dced
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,49 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "pnpm/action-setup/@v4"
with:
version: "latest"
- uses: "actions/setup-node@v4"
with:
node-version: "lts/iron"
cache: "npm"
cache: "pnpm"
- name: "Install Dependencies"
run: "npm ci"
run: "pnpm install --frozen-lockfile"
- name: "Run eslint"
run: "npm run lint:ts"
run: "pnpm lint:ts"
prettier:
name: "Run Prettier"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "pnpm/action-setup/@v4"
with:
version: "latest"
- uses: "actions/setup-node@v4"
with:
node-version: "lts/iron"
cache: "npm"
cache: "pnpm"
- name: "Install Dependencies"
run: "npm ci"
run: "pnpm install --frozen-lockfile"
- name: "Run prettier"
run: "npm run prettier"
run: "pnpm prettier"
markdownlint:
name: "Run Markdownlint"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "pnpm/action-setup/@v4"
with:
version: "latest"
- uses: "actions/setup-node@v4"
with:
node-version: "lts/iron"
cache: "npm"
cache: "pnpm"
- name: "Install Dependencies"
run: "npm ci"
run: "pnpm install --frozen-lockfile"
- name: "Run markdownlint"
run: "npm run mdl"
run: "pnpm mdl"
yaml:
name: "Lint YAML"
runs-on: "ubuntu-latest"
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
/sounds
/.stryker-tmp
/pnpm-lock.yaml
1 change: 1 addition & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ignore:
- "/node_modules"
- "/target"
- "/sounds"
- "/pnpm-lock.yaml"
rules:
truthy:
check-keys: false
Expand Down

0 comments on commit b90dced

Please sign in to comment.