diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ccf69a1..e3c0610 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,13 +17,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version-file: ".nvmrc" - name: Install dependencies run: npm ci - name: Release diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dda00a4..4088c32 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,12 +13,12 @@ jobs: node: [ '16.x', '18.x' ] name: Node ${{ matrix.node }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: | git remote set-branches --add origin main git fetch - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - name: Install Dependencies diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..3c03207 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +18