Skip to content

Commit 597d480

Browse files
committed
udpate workflow
1 parent 89eaf91 commit 597d480

File tree

3 files changed

+6
-94
lines changed

3 files changed

+6
-94
lines changed

.github/workflows/check.yml

+4-92
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup pnpm
2323
uses: pnpm/action-setup@v3
2424
with:
25-
version: latest
25+
version: 10.3.0
2626

2727
- name: Get pnpm store directory
2828
id: pnpm-cache
@@ -57,12 +57,12 @@ jobs:
5757
- name: Setup Node.js
5858
uses: actions/setup-node@v4
5959
with:
60-
node-version: 'lts/*'
60+
node-version: '23.1.0'
6161

6262
- name: Setup pnpm
6363
uses: pnpm/action-setup@v3
6464
with:
65-
version: latest
65+
version: 10.3.0
6666

6767
- name: Get pnpm store directory
6868
id: pnpm-cache
@@ -79,92 +79,4 @@ jobs:
7979
restore-keys: ${{ runner.os }}-pnpm-
8080

8181
- name: 💅🏻 Type Check, Lint and format
82-
run: pnpm run checkAll
83-
84-
pa11y-ci:
85-
needs: install-dependencies
86-
runs-on: ubuntu-latest
87-
env:
88-
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
89-
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
90-
91-
steps:
92-
- name: Checkout Commit
93-
uses: actions/checkout@v4
94-
with:
95-
fetch-depth: 2
96-
97-
- name: Setup Node.js
98-
uses: actions/setup-node@v4
99-
with:
100-
node-version: 'lts/*'
101-
102-
- name: Setup pnpm
103-
uses: pnpm/action-setup@v3
104-
with:
105-
version: latest
106-
107-
- name: Get pnpm store directory
108-
id: pnpm-cache
109-
shell: bash
110-
run: |
111-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
112-
113-
- name: Cache pnpm dependencies
114-
uses: actions/cache@v4
115-
id: pnpm-cache-result
116-
with:
117-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
118-
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
119-
restore-keys: ${{ runner.os }}-pnpm-
120-
121-
- name: Build UI
122-
working-directory: ./packages/ui
123-
run: pnpm run build
124-
125-
- name: Build App
126-
run: pnpm run build
127-
128-
- name: 🐣 Pa11y Test
129-
working-directory: ${{ github.workspace }}/apps/blog.sakupi01.com
130-
run: pnpm run start & sleep 3; pnpm pa11y
131-
132-
# This job is for executing tests.
133-
test:
134-
needs: install-dependencies
135-
runs-on: ubuntu-latest
136-
env:
137-
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
138-
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
139-
steps:
140-
- name: Checkout Commit
141-
uses: actions/checkout@v4
142-
with:
143-
fetch-depth: 2
144-
145-
- name: Setup Node.js
146-
uses: actions/setup-node@v4
147-
with:
148-
node-version: 'lts/*'
149-
150-
- name: Setup pnpm
151-
uses: pnpm/action-setup@v3
152-
with:
153-
version: latest
154-
155-
- name: Get pnpm store directory
156-
id: pnpm-cache
157-
shell: bash
158-
run: |
159-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
160-
161-
- name: Cache pnpm dependencies
162-
uses: actions/cache@v4
163-
id: pnpm-cache-result
164-
with:
165-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
166-
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
167-
restore-keys: ${{ runner.os }}-pnpm-
168-
169-
- name: 🧪 Test
170-
run: pnpm run test:unit
82+
run: pnpm run checkAll

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- name: Setup pnpm
6767
uses: pnpm/action-setup@v4
6868
with:
69-
version: latest
69+
version: 10.3.0
7070

7171
- name: Install dependencies
7272
run: pnpm install --frozen-lockfile

.github/workflows/storybook.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup pnpm
2424
uses: pnpm/action-setup@v4
2525
with:
26-
version: latest
26+
version: 10.3.0
2727

2828
- name: Get pnpm store directory
2929
id: pnpm-cache

0 commit comments

Comments
 (0)