Skip to content

Commit

Permalink
Update pull_request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matmalkowski authored Oct 2, 2024
1 parent b5cfcbc commit dacc6c2
Showing 1 changed file with 30 additions and 28 deletions.
58 changes: 30 additions & 28 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,33 @@ name: Validate Pull Request
on: [pull_request]

jobs:
run:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]
env:
CI: true
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: sudo apt-get install xvfb
- name: yarn install, build & tests
run: |
yarn install --frozen-lockfile
xvfb-run --auto-servernum yarn test
env:
CI: true
- name: Cleanup xvfb pidx
uses: bcomnes/cleanup-xvfb@v1
- name: Install and build docs
working-directory: docs
run: |
yarn
yarn build
run:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x] # Updated to use more recent LTS versions

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- run: sudo apt-get install xvfb

- name: yarn install, build & tests
run: |
yarn install --frozen-lockfile
xvfb-run --auto-servernum yarn test
- name: Cleanup xvfb pidx
uses: bcomnes/cleanup-xvfb@v1

- name: Install and build docs
working-directory: docs
run: |
yarn
yarn build

0 comments on commit dacc6c2

Please sign in to comment.