diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87c4f2c6e..44fe96d5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,14 +16,14 @@ jobs: node-version: [12.x, 14.x, 16.x, 17.x] steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Corepack if needed run: corepack -v || npm install -g corepack - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -31,7 +31,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{matrix.node-version}} - name: Install dependencies @@ -44,12 +44,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -57,9 +57,9 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: lts/* - name: Install dependencies run: corepack yarn install --immutable - name: Run linter @@ -70,12 +70,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -83,9 +83,9 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: lts/* - name: Install dependencies run: corepack yarn install --immutable - name: Run linter @@ -96,12 +96,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -109,9 +109,9 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: lts/* - name: Install dependencies run: corepack yarn install --immutable # Need to do a bunch of work to generate the locale typings 🙃 diff --git a/.github/workflows/companion-deploy.yml b/.github/workflows/companion-deploy.yml index d55a98d1b..aa93a2f79 100644 --- a/.github/workflows/companion-deploy.yml +++ b/.github/workflows/companion-deploy.yml @@ -14,7 +14,7 @@ jobs: COMPOSE_DOCKER_CLI_BUILD: 0 steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Docker meta id: docker_meta uses: crazy-max/ghaction-docker-meta@v1 @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Alter dockerfile run: | sed -i 's/^EXPOSE 3020$/EXPOSE $PORT/g' Dockerfile diff --git a/.github/workflows/companion.yml b/.github/workflows/companion.yml index 489da687f..ee181be60 100644 --- a/.github/workflows/companion.yml +++ b/.github/workflows/companion.yml @@ -15,14 +15,14 @@ jobs: node-version: [10.20.1, 12.x, 14.x, 16.x, 17.x] steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Corepack if needed run: corepack -v || npm install -g corepack - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -30,7 +30,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{matrix.node-version}} - name: Install dependencies diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c3c948b01..4ffac9b6b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,14 +14,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha || github.sha }} - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -29,9 +29,9 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: lts/* - name: Install dependencies run: corepack yarn install --immutable - name: Build Uppy packages diff --git a/.github/workflows/manual-cdn.yml b/.github/workflows/manual-cdn.yml index a83832cab..1cf3be53a 100644 --- a/.github/workflows/manual-cdn.yml +++ b/.github/workflows/manual-cdn.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -25,9 +25,9 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: lts/* - name: Install dependencies run: corepack yarn install --immutable - name: Build before publishing diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml index d7949fc56..d2e7fdb71 100644 --- a/.github/workflows/release-candidate.yml +++ b/.github/workflows/release-candidate.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: branch: release - name: Rebase @@ -22,7 +22,7 @@ jobs: id: yarn-cache-dir-path run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -30,9 +30,9 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: lts/* - name: Install dependencies run: corepack yarn install --immutable - name: Bump candidate packages version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 076dd62c9..a036624b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,14 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 2 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -25,9 +25,9 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: lts/* - name: Install dependencies run: corepack yarn install --immutable - name: Get CHANGELOG diff diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 87ab4558c..5b2ae7b1f 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -23,9 +23,9 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: lts/* - name: Install dependencies run: corepack yarn install --immutable - name: Build Uppy