diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index efe8ffbec..3661dff3b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,14 +14,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - name: Install dependencies run: | diff --git a/.github/workflows/disable-anniversary-pack.yml b/.github/workflows/disable-anniversary-pack.yml index dd60419f3..c10ccf30f 100644 --- a/.github/workflows/disable-anniversary-pack.yml +++ b/.github/workflows/disable-anniversary-pack.yml @@ -16,14 +16,10 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - name: Install dependencies run: npm install diff --git a/.github/workflows/disable-lightbearer-pack.yml b/.github/workflows/disable-lightbearer-pack.yml index d89b01cb6..f0277fd33 100644 --- a/.github/workflows/disable-lightbearer-pack.yml +++ b/.github/workflows/disable-lightbearer-pack.yml @@ -16,14 +16,10 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - name: Install dependencies run: npm install diff --git a/.github/workflows/enable-anniversary-pack.yml b/.github/workflows/enable-anniversary-pack.yml index 79b3235a1..25fc74b79 100644 --- a/.github/workflows/enable-anniversary-pack.yml +++ b/.github/workflows/enable-anniversary-pack.yml @@ -16,14 +16,10 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - name: Install dependencies run: npm install diff --git a/.github/workflows/enable-lightbearer-pack.yml b/.github/workflows/enable-lightbearer-pack.yml index 7f2acb1e0..916d58f01 100644 --- a/.github/workflows/enable-lightbearer-pack.yml +++ b/.github/workflows/enable-lightbearer-pack.yml @@ -16,14 +16,10 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - name: Install dependencies run: npm install diff --git a/.github/workflows/enable-orcsoberfest-island-pack.yml b/.github/workflows/enable-orcsoberfest-island-pack.yml index 138a12431..6d6c34766 100644 --- a/.github/workflows/enable-orcsoberfest-island-pack.yml +++ b/.github/workflows/enable-orcsoberfest-island-pack.yml @@ -20,14 +20,10 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - name: Install dependencies run: npm install diff --git a/.github/workflows/enable-percht-island.yml b/.github/workflows/enable-percht-island.yml index 2385ae92a..6e46a1d21 100644 --- a/.github/workflows/enable-percht-island.yml +++ b/.github/workflows/enable-percht-island.yml @@ -19,14 +19,10 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - name: Install dependencies run: npm install diff --git a/.github/workflows/import-markers-lee.yml b/.github/workflows/import-markers-lee.yml index 089d37df6..30047aec0 100644 --- a/.github/workflows/import-markers-lee.yml +++ b/.github/workflows/import-markers-lee.yml @@ -13,14 +13,10 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - name: Install dependencies run: npm install diff --git a/.github/workflows/import-markers-mathias.yml b/.github/workflows/import-markers-mathias.yml index 02849013f..eed8596a4 100644 --- a/.github/workflows/import-markers-mathias.yml +++ b/.github/workflows/import-markers-mathias.yml @@ -13,14 +13,10 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - name: Install dependencies run: npm install diff --git a/.github/workflows/import-markers-pieter.yml b/.github/workflows/import-markers-pieter.yml index b58b5f6a2..9a7352f38 100644 --- a/.github/workflows/import-markers-pieter.yml +++ b/.github/workflows/import-markers-pieter.yml @@ -13,14 +13,10 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - name: Read .nvmrc - run: echo ::set-output name=NVMRC::$(cat .nvmrc) - id: nvm - - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - name: Install dependencies run: npm install