Skip to content

Commit f84272e

Browse files
committed
fix workflow
1 parent ebe6845 commit f84272e

2 files changed

Lines changed: 22 additions & 15 deletions

File tree

.github/workflows/verify.yml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ jobs:
1212
- name: Checkout the repository
1313
uses: actions/checkout@v4
1414

15+
- name: Enable Corepack
16+
run: corepack enable
17+
1518
- name: Get Yarn cache directory path
1619
id: yarn-cache-dir-path
17-
run: echo "::set-output name=dir::$(yarn cache dir)"
20+
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
1821

1922
- name: Setup Yarn cache
2023
uses: actions/cache@v4
@@ -27,29 +30,33 @@ jobs:
2730
- name: Install dependencies
2831
run: yarn install --frozen-lockfile
2932

30-
- name: TypeScript check
31-
run: yarn run typecheck
33+
# - name: TypeScript check
34+
# run: yarn run typecheck
3235

33-
- name: ESLint check
34-
run: yarn run lint
36+
# - name: ESLint check
37+
# run: yarn run lint
3538

36-
- name: Build the project
37-
run: yarn run build
39+
# - name: Build the project
40+
# run: yarn run build
3841

39-
- name: Upload build artifacts
40-
uses: actions/upload-artifact@v4
41-
with:
42-
name: build-artifacts
43-
retention-days: 7
44-
path: build/
42+
# - name: Upload build artifacts
43+
# uses: actions/upload-artifact@v4
44+
# with:
45+
# name: build-artifacts
46+
# retention-days: 7
47+
# path: |
48+
# packages/*/dist/
4549

4650
summary:
4751
runs-on: ubuntu-latest
48-
if: ${{ !cancelled() && secrets.WEBHOOK_DISCORD != '' }}
4952
needs: [ verify_and_build ]
53+
if: ${{ always() }}
54+
env:
55+
HAS_WEBHOOK: ${{ secrets.WEBHOOK_DISCORD != '' }}
5056
steps:
5157

5258
- name: Trigger Webhook
59+
if: ${{ env.HAS_WEBHOOK == 'true' }}
5360
uses: CalmDownVal/webhook-summary@v1
5461
with:
5562
token: ${{ github.token }}

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ __metadata:
7878
tslib: "npm:2.8.1"
7979
typescript: "npm:5.8.2"
8080
peerDependencies:
81-
"@calmdownval/workspaces-util": 1.0.0
81+
"@calmdownval/workspaces-util": 1.0.0-alpha.2
8282
rollup: 4.38.0
8383
languageName: unknown
8484
linkType: soft

0 commit comments

Comments
 (0)