diff --git a/workflows/playwright.yml b/workflows/playwright.yml deleted file mode 100644 index 0404c10..0000000 --- a/workflows/playwright.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Playwright Tests -on: - push: - branches: [ main, master ] - pull_request: - branches: [ main, master ] -jobs: - test: - timeout-minutes: 60 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: Install dependencies - run: npm install -g pnpm && pnpm install - - name: Install Playwright Browsers - run: pnpm exec playwright install --with-deps - - name: Run Playwright tests - run: pnpm exec playwright test - - uses: actions/upload-artifact@v3 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 diff --git a/workflows/publish.yml b/workflows/publish.yml deleted file mode 100644 index 0d3a3a7..0000000 --- a/workflows/publish.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: 'Publish to Netlify' -on: - push: - branches: [ prod, deploy ] - pull_request: - branches: [ prod, deploy ] -jobs: - publish: - timeout-minutes: 10 - runs-on: debian-latest - steps: - - uses: actions/checkout@v3 - name: Checkout - - name: Build - run: | - npm --version && node --version - npm ci --no-update-notifier - npm run build - - uses: https://github.com/nwtgck/actions-netlify@v2.0 - name: Deploy - with: - publish-dir: './dist' - production-deploy: true - github-token: ${{ secrets.GITHUB_TOKEN }} - deploy-message: "Deployed from Gitea Action" - enable-commit-comment: false - enable-pull-request-comment: false - overwrites-pull-request-comment: true - enable-github-deployment: false - env: - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - timeout-minutes: 1