diff --git a/.github/workflows/testAndPublishOnTag.yml b/.github/workflows/testAndPublishOnTag.yml index 63677c1..aa6d5c2 100644 --- a/.github/workflows/testAndPublishOnTag.yml +++ b/.github/workflows/testAndPublishOnTag.yml @@ -15,8 +15,11 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node }} + node-version: '20' - run: npm ci + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} - run: npm run build - run: npm run test diff --git a/.github/workflows/testOnPush.yml b/.github/workflows/testOnPush.yml index 97da07b..0110fc7 100644 --- a/.github/workflows/testOnPush.yml +++ b/.github/workflows/testOnPush.yml @@ -12,7 +12,10 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node }} + node-version: '20' - run: npm ci + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} - run: npm run build - run: npm run test