diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55f64f8f..c97e3af0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,10 +22,11 @@ jobs: - name: Setup Node and Yarn uses: volta-cli/action@v3 - - name: Build - run: | - yarn install - yarn run build + - name: Install dependencies + run: yarn install --immutable + + - name: Build the file + run: yarn run build - name: HACS build validation uses: "hacs/action@21.12.1" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a6d9f1e..bcceb70b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,11 +17,11 @@ jobs: - name: Setup Node and Yarn uses: volta-cli/action@v3 - # Build + - name: Install dependencies + run: yarn install --immutable + - name: Build the file - run: | - yarn install - yarn run build + run: yarn run build # Upload build file to the release as an asset. - name: Upload zip to release