diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index ad7183a3..b9675586 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -14,12 +14,13 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' registry-url: 'https://registry.npmjs.org' cache: yarn - cache-dependency-path: "yarn.lock" - name: Install node modules - run: yarn install --frozen-lockfile + run: yarn --frozen-lockfile --prefer-offline + - name: Run linter + run: yarn lint - name: Run Playwright tests run: yarn playwright test - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml deleted file mode 100644 index d69523c4..00000000 --- a/.github/workflows/pull-request.yaml +++ /dev/null @@ -1,30 +0,0 @@ -name: Validate a pull request - -on: - pull_request: - branches: - - main - workflow_dispatch: { } - -jobs: - validate: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Install NodeJS - uses: actions/setup-node@v3 - with: - node-version: '18.x' - registry-url: 'https://registry.npmjs.org' - - - name: Install node modules - run: yarn install --frozen-lockfile - - - name: Run linter - run: yarn lint - - - name: Build - run: yarn build