diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index f8afe89..de40fe8 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 18 - name: npm config get cache id: npm-cache-dir run: echo "::set-output name=dir::$(npm config get cache)" @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12, 14, 16] + node-version: [18,20] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -57,7 +57,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 18 - name: npm config get cache id: npm-cache-dir run: echo "::set-output name=dir::$(npm config get cache)" diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..60495ee --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +v18.19.1