Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrzakacper committed Sep 2, 2024
1 parent 269226b commit 7615ab7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,16 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21.7"
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: oven-sh/setup-bun@v2
- run: go mod tidy
- run: cd reporters/golang && go mod tidy && cd ../..
- run: cd reporters/javascript && npm install --no-package-lock && npm run build && cd ../..
- run: cd frontend && npm install --no-package-lock --legacy-peer-deps && VITE_SERVER_URL=/ npm run build-ci && cd ../..
- run: cd e2e-tests && npm install --no-package-lock && npx playwright install && cd ../..
- run: cd e2e-tests && npx playwright test && cd ../..
- run: cd reporters/javascript && bun install && bun run build && cd ../..
- run: cd frontend && bun install && cd ../..
- run: cd e2e-tests && bun install && bunx playwright install && cd ../..
- run: cd e2e-tests && bun run test && cd ../..
1 change: 0 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"scripts": {
"dev": "bunx --bun vite",
"build": "tsc && bunx --bun vite build",
"build-ci": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "bunx --bun vite preview"
},
Expand Down

0 comments on commit 7615ab7

Please sign in to comment.