diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd7fce6..a4b8adf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - cache: 'npm' + cache: 'yarn' scope: '@lego' - name: Install dependencies run: yarn install --frozen-lockfile @@ -30,10 +30,10 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - cache: 'npm' + cache: 'yarn' scope: '@lego' - name: Install dependencies run: yarn install --frozen-lockfile @@ -46,10 +46,10 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - cache: 'npm' + cache: 'yarn' scope: '@lego' - name: Install dependencies run: yarn install --frozen-lockfile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6b554a..017f4a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,10 +16,10 @@ jobs: fetch-depth: 0 persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - cache: 'npm' + cache: 'yarn' scope: '@lego' - name: Install dependencies run: yarn install --frozen-lockfile