diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 4705408..f05700e 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -18,21 +18,6 @@ jobs: with: dotnet-version: '10.0' - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '22' - cache: npm - - - name: Cache Playwright browsers - uses: actions/cache@v4 - with: - path: | - ~/.cache/ms-playwright - key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }} - restore-keys: | - ${{ runner.os }}-playwright- - - name: Restore dependencies run: dotnet restore TaxBaik.sln @@ -165,6 +150,29 @@ jobs: exit 1 fi + browser-e2e: + runs-on: ubuntu-latest + needs: build-and-deploy + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22' + cache: npm + + - name: Cache Playwright browsers + uses: actions/cache@v4 + with: + path: | + ~/.cache/ms-playwright + key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }} + restore-keys: | + ${{ runner.os }}-playwright- + - name: Install Playwright dependencies run: | set -e