From 4145aede621da0e64c7821a7b2b6bd299ffb4b22 Mon Sep 17 00:00:00 2001 From: Jonathan Branan Date: Sat, 2 Nov 2024 21:27:21 -0500 Subject: [PATCH] a --- .gitea/workflows/build.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2074dc3..82c0ea9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -18,6 +18,14 @@ jobs: with: patterns: |- **/yarn.lock + - uses: actions/checkout@v4 + - name: Set Node.js 22.x + uses: actions/setup-node@v4 + with: + node-version: 22.x + cache-dependency-path: 'yarn.lock' + - name: Install Yarn + run: npm install -g yarn - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT @@ -29,15 +37,6 @@ jobs: key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.matched-files }} restore-keys: | ${{ runner.os }}-yarn- - - - uses: actions/checkout@v4 - - name: Set Node.js 22.x - uses: actions/setup-node@v4 - with: - node-version: 22.x - cache-dependency-path: 'yarn.lock' - - name: Install Yarn - run: npm install -g yarn - run: yarn - run: EXPORT=1 UNOPTIMIZED=1 yarn build