diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 24f3055afc..a4d6981ba8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: node-version: ${{ matrix.node }} - run: yarn install --frozen-lockfile --check-files - run: yarn lint --max-warnings=0 - build: + test: runs-on: ubuntu-latest strategy: fail-fast: false @@ -38,7 +38,7 @@ jobs: # webpack-config, xdl, ] - name: Build & Test ${{ matrix.package }} on Node ${{ matrix.node }} + name: Test ${{ matrix.package }} on Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/test_windows.yml b/.github/workflows/test_windows.yml index 13f06854ec..2bdb83bbd4 100644 --- a/.github/workflows/test_windows.yml +++ b/.github/workflows/test_windows.yml @@ -5,7 +5,7 @@ on: pull_request: types: [opened, synchronize] jobs: - build: + lint: runs-on: windows-latest strategy: matrix: @@ -20,17 +20,9 @@ jobs: with: node-version: ${{ matrix.node }} - run: yarn install --frozen-lockfile --network-timeout 120000 - - run: yarn lerna run prepare --stream - run: yarn lint --max-warnings=0 - - uses: actions/cache@v2 - with: - key: v2-${{ github.sha }}-${{ matrix.node }} - path: | - '*' - !node_modules test: runs-on: ubuntu-latest - needs: build strategy: fail-fast: false matrix: @@ -47,16 +39,17 @@ jobs: ] name: Test ${{ matrix.package }} on Node ${{ matrix.node }} steps: - - uses: actions/cache@v2 + - uses: actions/checkout@v3 with: - path: '*' - key: v2-${{ github.sha }}-${{ matrix.node }} + fetch-depth: 1 - name: Set up Node uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - name: Install packages run: yarn install --frozen-lockfile --check-files + - name: Build packages + run: yarn lerna run prepare --stream - name: Test ${{ matrix.package }} working-directory: packages/${{ matrix.package }} run: yarn test