Skip to content

Commit

Permalink
ci: fix CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Oct 27, 2023
1 parent 214a5ff commit 7a8386a
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 15 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Setup Node.js 16
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
cache: pnpm
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ jobs:
size-limit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Setup Node.js LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vercel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check Branch
id: branch
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"workspaces": [
"packages/*"
],
"packageManager": "pnpm@8.6.7",
"packageManager": "pnpm@8.9.2",
"scripts": {
"build": "run-p build:*",
"build:r": "r -f cjs",
Expand Down
1 change: 1 addition & 0 deletions packages/autocorrect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Once installed, [Prettier plugins](https://prettier.io/docs/en/plugins.html) mus
```

Then:

```sh
# npx
npx prettier --write writing.md
Expand Down
1 change: 1 addition & 0 deletions packages/pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Once installed, [Prettier plugins](https://prettier.io/docs/en/plugins.html) mus
```

Then:

```sh
# npx
npx prettier --write package.json
Expand Down
1 change: 1 addition & 0 deletions packages/sh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Once installed, [Prettier plugins](https://prettier.io/docs/en/plugins.html) mus
```

Then:

```sh
# npx
npx prettier --write script.sh
Expand Down
2 changes: 2 additions & 0 deletions packages/sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Once installed, [Prettier plugins](https://prettier.io/docs/en/plugins.html) mus
"plugins": ["prettier-plugin-sql"]
}
```

Then:

```sh
# npx
npx prettier --write db.sql
Expand Down

0 comments on commit 7a8386a

Please sign in to comment.