Skip to content

workflow: repo varaible fix #9

workflow: repo varaible fix

workflow: repo varaible fix #9

Workflow file for this run

name: 'Build and Tests'
on:
push:
jobs:
tests:
name: Testing
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: PNPM Install
run: 'npm install -g pnpm'
- name: Install Dependencies
run: 'pnpm install --frozen-lockfile'
- name: Playwright Install
run: 'pnpm exec playwright install'
- name: Run Tests
run: 'pnpm test'
build:
name: Build
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: PNPM Install
run: 'npm install -g pnpm'
- name: Install Dependencies
run: 'pnpm install --frozen-lockfile'
- name: Test Build
run: 'pnpm build'