diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 09b229c4..77eabaf5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,8 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '14.x' - - run: npm install - - run: npm run build + node-version: '20.x' + - name: Install + run: yarn install + - name: Build + run: yarn build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8fc5d53e..bb027581 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,8 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '14.x' - - run: npm install - - run: npm run test + node-version: '20.x' + - name: Install + run: yarn install + - name: Test + run: yarn test