diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 009cd4f..5a613d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,12 +12,12 @@ jobs: name: Run static checks steps: - uses: actions/checkout@v4 + - run: corepack enable - name: Setup node uses: actions/setup-node@v4 with: node-version: ${{ env.MAIN_NODE_VERSION }} cache: 'yarn' - - run: corepack enable - run: yarn install - run: yarn run lint - run: yarn run types @@ -30,12 +30,12 @@ jobs: node: ["18", "20", "21"] steps: - uses: actions/checkout@v4 + - run: corepack enable - name: Setup node uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} cache: 'yarn' - - run: corepack enable - name: Install dependencies run: yarn install - name: Run tests @@ -49,11 +49,11 @@ jobs: name: Build steps: - uses: actions/checkout@v4 + - run: corepack enable - name: Setup node uses: actions/setup-node@v4 with: node-version: ${{ env.MAIN_NODE_VERSION }} - - run: corepack enable - run: yarn install - run: yarn run build - uses: actions/upload-artifact@v3