diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.yml index 006dfd8..bf7481b 100644 --- a/.github/workflows/ci-frontend.yml +++ b/.github/workflows/ci-frontend.yml @@ -37,9 +37,8 @@ jobs: - name: Compress frontend source for artifact run: | - cd shatter-web - tar -czf ../frontend-source-${{ github.run_number }}.tar.gz . - + tar -czf frontend-source-${{ github.run_number }}.tar.gz shatter-web + - name: Upload frontend artifact uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml deleted file mode 100644 index 8f771e2..0000000 --- a/.github/workflows/frontend.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Build and Deploy Frontend - -on: - push: - branches: [main] - paths: - - 'shatter-web/**' - - pull_request: - branches: [main] - paths: - - 'shatter-web/**' - -jobs: - build: - runs-on: ubuntu-latest - defaults: - run: - working-directory: shatter-web - - steps: - - name: Checkout repo - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install dependencies - run: npm ci - - - name: Run build - run: npm run build - - - name: Run tests - run: npm test - continue-on-error: true