diff --git a/.github/workflows/checkout-and-lint.yml b/.github/workflows/checkout-and-lint.yml index 00117854..f5f951ef 100644 --- a/.github/workflows/checkout-and-lint.yml +++ b/.github/workflows/checkout-and-lint.yml @@ -3,6 +3,9 @@ name: Checkout and lint on: workflow_dispatch +permissions: + contents: read + jobs: build: @@ -10,7 +13,7 @@ jobs: strategy: matrix: - node-version: [20.x] + node-version: [24.x] steps: - uses: actions/checkout@v4 @@ -18,6 +21,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: npm - name: Install dependencies and run lint run: npm ci - run: npm run lint diff --git a/.github/workflows/checkout-install-dep-build-dev-prod.yml b/.github/workflows/checkout-install-dep-build-dev-prod.yml index 6c1fcb58..8bd49f67 100644 --- a/.github/workflows/checkout-install-dep-build-dev-prod.yml +++ b/.github/workflows/checkout-install-dep-build-dev-prod.yml @@ -13,6 +13,9 @@ on: - main - 'release/**' +permissions: + contents: read + jobs: build: @@ -20,7 +23,7 @@ jobs: strategy: matrix: - node-version: [20.x] + node-version: [24.x] steps: - uses: actions/checkout@v4 @@ -40,6 +43,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: npm - name: Install dependencies run: npm ci - name: Run build:dev diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml deleted file mode 100644 index e3750ae3..00000000 --- a/.github/workflows/github-actions-demo.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: GitHub Actions Example -on: - workflow_dispatch: - -jobs: - Info_About_Action_And_Repo: - runs-on: - ubuntu-latest - - steps: - - run: echo "The job was automatically triggered by a ${{ github.event_name }} event." - - run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!" - - run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - - name: Check out repository code - uses: actions/checkout@v2 - - run: echo "The ${{ github.repository }} repository has been cloned to the runner." - - run: echo "The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ github.workspace }} - - run: echo "This job's status is ${{ job.status }}." diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml deleted file mode 100644 index 26468ff7..00000000 --- a/.github/workflows/playwright.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Playwright Tests -on: - push: - branches: [ main, master ] - pull_request: - branches: [ main, master ] -jobs: - test: - timeout-minutes: 60 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '20.x' - - name: Install dependencies - run: npm ci - - name: Install Playwright - run: npx playwright install --with-deps - - uses: actions/upload-artifact@v4 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30