diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index dcb73b8..d984253 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -17,16 +17,12 @@ jobs: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x] - steps: - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version-file: '.nvmrc' - name: Install package run: npm i diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..8fdd954 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22 \ No newline at end of file