Allow multiple concept filtering in global search #331
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull request | |
on: pull_request | |
permissions: read-all | |
jobs: | |
check-auto-tagging-will-work: | |
uses: climatepolicyradar/reusable-workflows/.github/workflows/check-auto-tagging-will-work.yml@v17 | |
size: | |
runs-on: ubuntu-latest | |
env: | |
CI_JOB_NUMBER: 1 | |
THEME: cpr | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: andresz1/size-limit-action@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
percy: | |
runs-on: ubuntu-latest | |
env: | |
THEME: cpr | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.12.0 | |
- run: npm install | |
- run: cp .env.example .env | |
- run: npm run build | |
env: | |
NODE_ENV: production | |
- run: npm run start & | |
- run: | | |
echo "Waiting for server to start..." | |
npx wait-on http://localhost:3000 | |
- run: npx percy snapshot snapshots.js | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
- if: always() | |
run: kill $(lsof -t -i:3000) || true | |
code-quality: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.12.0 | |
- run: npm install | |
- uses: trunk-io/trunk-action@v1 | |
with: | |
arguments: --ci | |
permissions: | |
# For trunk to post annotations | |
checks: write | |
# For repo checkout | |
contents: read | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.12.0 | |
- run: npm install | |
- run: cp .env.example .env | |
- run: npm run build | |
env: | |
NODE_ENV: production | |
- run: npm run test | |
test-e2e: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.12.0 | |
- run: npm ci | |
- run: cp .env.example .env | |
- run: npm run build | |
env: | |
NODE_ENV: production | |
- run: npx playwright install --with-deps | |
- run: npx playwright test | |
- uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |