diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 6fc091c..a997f4c 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -9,7 +9,12 @@ jobs: auto-merge: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version-file: '.nvmrc' + - uses: ahmadnassri/action-dependabot-auto-merge@v2 with: target: minor diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 07abca5..f3ba24c 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -29,16 +29,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - - name: Read .nvmrc - id: node_version - run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) + - uses: actions/checkout@v3 - - name: Setup node - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: ${{ steps.node_version.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - run: yarn install --frozen-lockfile diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml index 6e8cd81..08fb0e2 100644 --- a/.github/workflows/pr-checker.yml +++ b/.github/workflows/pr-checker.yml @@ -10,16 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - name: Read .nvmrc - id: node_version - run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) - - - name: Setup node - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: ${{ steps.node_version.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - run: yarn install --frozen-lockfile @@ -29,16 +24,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - - name: Read .nvmrc - id: node_version - run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) + - uses: actions/checkout@v3 - - name: Setup node - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: ${{ steps.node_version.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - run: yarn install --frozen-lockfile @@ -48,16 +38,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - - name: Read .nvmrc - id: node_version - run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) + - uses: actions/checkout@v3 - - name: Setup node - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: ${{ steps.node_version.outputs.NODE_VERSION }} + node-version-file: '.nvmrc' - run: yarn install --frozen-lockfile