patch: migrate to gitea actions #14

Merged
keligrubb merged 5 commits from migrate-to-gitea-actions into main 2026-03-04 19:49:17 +00:00
Showing only changes of commit 8f2f3aeb88 - Show all commits

View File

@@ -4,7 +4,7 @@ on:
pull_request:
jobs:
install:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
@@ -18,35 +18,11 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Upload node_modules
uses: https://gitea.com/actions/gitea-upload-artifact@main
with:
name: node_modules
path: node_modules/
lint:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: "24"
cache: "npm"
- name: Restore node_modules
uses: https://github.com/ChristopherHX/gitea-download-artifact@main
with:
name: node_modules
- name: Run lint
run: npm run lint
test:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v6
@@ -56,17 +32,14 @@ jobs:
node-version: "24"
cache: "npm"
- name: Restore node_modules
uses: https://github.com/ChristopherHX/gitea-download-artifact@main
with:
name: node_modules
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
e2e:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v6
@@ -76,10 +49,8 @@ jobs:
node-version: "24"
cache: "npm"
- name: Restore node_modules
uses: https://github.com/ChristopherHX/gitea-download-artifact@main
with:
name: node_modules
- name: Install dependencies
run: npm ci
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium