diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c371d2c..3879f57 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,12 +24,9 @@ jobs: strategy: fail-fast: false matrix: - node-version: - - '20' - - '18' + node-version: [18, 20] runs-on: ubuntu-latest - name: Test Node ${{ matrix.node-version }} steps: @@ -54,6 +51,27 @@ jobs: name: artifact-${{ matrix.node-version }} path: ./docs + test-experimental: + runs-on: ubuntu-latest + name: Test Node 22 + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Use Node.js version + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: '' + - run: npm install + - run: npx playwright install --with-deps + - run: npm run build + - run: npm run test + continue-on-error: true + env: + FORCE_COLOR: true + deploy: if: github.ref == 'refs/heads/main' needs: test