diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9154a366..0483ce35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,10 @@ jobs: steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: "yarn" - name: Install Dependencies run: yarn install --frozen-lockfile - name: Build @@ -59,9 +60,10 @@ jobs: needs: [build-and-test] steps: - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: - node-version: 20.x + registry-url: https://registry.npmjs.org/ + cache: "yarn" - name: Install dependencies run: yarn install --frozen-lockfile - name: Build latest (master) version