diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9afd2e854cca..cf88a03d5bc4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,24 +19,17 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - name: Cache yarn dependencies - uses: actions/cache@v2 - with: - path: ~/.yarn - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - ${{ runner.os }}- + cache: yarn - - run: yarn install --immutable + - run: yarn install --frozen-lockfile - run: yarn run production-build - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4.6.4 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages # The branch the action should deploy to. folder: build # The folder the action should deploy. diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 5a038e0379a7..80e66fc536db 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,23 +16,16 @@ jobs: strategy: matrix: - node-version: [20.x, 21.x] + node-version: [20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - name: Cache yarn dependencies - uses: actions/cache@v2 - with: - path: ~/.yarn - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - ${{ runner.os }}- + cache: yarn - - run: yarn install --immutable + - run: yarn install --frozen-lockfile - run: yarn run build diff --git a/.github/workflows/prettify.yml b/.github/workflows/prettify.yml index 4a8b0ddd8e0d..db4a03153c2e 100644 --- a/.github/workflows/prettify.yml +++ b/.github/workflows/prettify.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Prettify code uses: creyD/prettier_action@v4.3