workflows at wrong place somehow
This commit is contained in:
parent
4125839132
commit
8ec3f31973
|
@ -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
|
|
|
@ -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
|
|
Loading…
Reference in New Issue