From 62618221dad3bcf7984949d57e690e2804683308 Mon Sep 17 00:00:00 2001 From: Chase Moskal Date: Sat, 14 Sep 2024 15:12:58 -0700 Subject: [PATCH] fix: release workflow assets --- .github/workflows/release.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 913325d..b4a80fe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,7 +30,15 @@ jobs: with: version: v2.2.2 - - name: download assets + - run: npm ci + - run: npm run build + - run: npm test + + - name: 🗑️ delete temp assets symlink + run: | + rm -rf x/assets + + - name: 🌎 download assets env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -38,10 +46,6 @@ jobs: run: | s5cmd cp "s3://benev-storage/regis/x/*" x/assets/ - - run: npm ci - - run: npm run build - - run: npm test - - name: 🚚 tracking ignored stuff run: | sed -i.bak -e '/^\/node_modules$/d' .gitignore @@ -58,10 +62,6 @@ jobs: cp -r node_modules/ x/ cp -r s/ x/ - - name: 🗑️ delete temp symlink - run: | - rm -rf x/assets - - name: 📝 configure pages uses: actions/configure-pages@v3