Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
ci:
runs-on: ubuntu-latest
Expand All @@ -19,6 +22,7 @@ jobs:
with:
node-version-file: '.nvmrc'
check-latest: true
cache: 'npm'
- run: npm ci
- run: npx --no-install playwright install --with-deps
- run: npm run test:coverage
Expand All @@ -29,3 +33,5 @@ jobs:
name: playwright-report
path: playwright-report
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ on:
schedule:
- cron: '0 9 * * 1' # Every Monday at 9:00 AM UTC
workflow_dispatch:
branches:
- master

permissions:
contents: write
id-token: write
packages: write

jobs:
release:
Expand All @@ -29,6 +26,7 @@ jobs:
with:
node-version-file: '.nvmrc'
check-latest: true
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

- name: Configure git
Expand All @@ -42,9 +40,6 @@ jobs:
- name: Install Playwright browsers
run: npx --no-install playwright install --with-deps

- name: Build
run: npm run build

- name: Release
run: npm run release
env:
Expand Down