diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2cf3268..d87fb41 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,20 +6,24 @@ on: jobs: unit: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18, 20] steps: - name: Checkout Repo uses: actions/checkout@v3 - - name: Use Node.js 18.8.x + - name: Use Node.js LTS versions uses: actions/setup-node@v3 with: - # use node 18.8.x until Agoric/agoric-sdk#8636 - node-version: "18.8.x" + node-version: ${{ matrix.node-version }} - name: yarn install run: yarn - name: yarn lint run: yarn lint - name: yarn build run: yarn build + - name: yarn test + run: yarn test --exclude "**/e2e/**" integration: runs-on: ubuntu-latest steps: @@ -71,4 +75,4 @@ jobs: path: | ui/test/e2e/videos ui/test/e2e/screenshots - continue-on-error: true \ No newline at end of file + continue-on-error: true