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
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: quiz-app2 / Test & Build
name: quiz-app / Test & Build

on:
push:
paths:
- "quiz-app2/**"
- ".github/workflows/quiz-app2-build.yml"
- ".github/workflows/quiz-app2-pages.yml"
- "quiz-app/**"
- ".github/workflows/quiz-app-build.yml"
- ".github/workflows/quiz-app-pages.yml"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: quiz-app2-ci-${{ github.ref }}
group: quiz-app-ci-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Test and build quiz-app2
name: Test and build quiz-app
runs-on: ubuntu-latest
defaults:
run:
working-directory: quiz-app2
working-directory: quiz-app

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand All @@ -30,7 +30,7 @@ jobs:
with:
node-version: 22
cache: npm
cache-dependency-path: quiz-app2/package-lock.json
cache-dependency-path: quiz-app/package-lock.json

- name: Install dependencies
run: npm ci
Expand Down
80 changes: 0 additions & 80 deletions .github/workflows/quiz-app-github-pages.yml

This file was deleted.

80 changes: 0 additions & 80 deletions .github/workflows/quiz-app-normal-github-pages.yml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/quiz-app-normal-test.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: quiz-app2 / Deploy Pages
name: quiz-app / Deploy Pages

on:
push:
branches:
- main
paths:
- "quiz-app2/**"
- ".github/workflows/quiz-app2-build.yml"
- ".github/workflows/quiz-app2-pages.yml"
- "quiz-app/**"
- ".github/workflows/quiz-app-build.yml"
- ".github/workflows/quiz-app-pages.yml"
workflow_dispatch:

permissions:
Expand All @@ -16,27 +16,27 @@ permissions:
id-token: write

concurrency:
group: quiz-app2-pages
group: quiz-app-pages
cancel-in-progress: true

jobs:
build:
name: Build quiz-app2 Pages artifact
name: Build quiz-app Pages artifact
runs-on: ubuntu-latest
defaults:
run:
working-directory: quiz-app2
working-directory: quiz-app

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
cache: npm
cache-dependency-path: quiz-app2/package-lock.json
cache-dependency-path: quiz-app/package-lock.json

- uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
- uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5

- name: Install dependencies
run: npm ci
Expand All @@ -54,12 +54,12 @@ jobs:
cp dist/index.html dist/404.html
touch dist/.nojekyll

- uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
- uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
with:
path: quiz-app2/dist
path: quiz-app/dist

deploy:
name: Deploy quiz-app2 to GitHub Pages
name: Deploy quiz-app to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
Expand All @@ -68,4 +68,4 @@ jobs:

steps:
- id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
54 changes: 0 additions & 54 deletions .github/workflows/quiz-app-test.yml

This file was deleted.

Loading