diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30ebf17b..6a48b03c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js 18 + - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: 18 + node-version-file: .nvmrc - run: yarn install - run: yarn lint @@ -20,17 +20,13 @@ jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [14.x, 16.x, 18.x] - steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version-file: .nvmrc - run: yarn install - run: yarn build diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c95dfc8b..5d0e76f5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,10 +11,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js 14 + - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: 14.x + node-version-file: .nvmrc - name: Setup user run: | diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 3128085c..3e271ac3 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -13,10 +13,10 @@ jobs: with: ref: main - - name: Use Node.js 14 + - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: 14.x + node-version-file: .nvmrc - name: Setup user run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de44e0b5..71c63bf3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,17 +8,13 @@ jobs: release: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x] - steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version-file: .nvmrc - name: Install run: yarn diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..3c032078 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +18 diff --git a/package.json b/package.json index 84625c72..cf1da876 100644 --- a/package.json +++ b/package.json @@ -77,8 +77,5 @@ }, "peerDependencies": { "vue": "^3.2.0" - }, - "engines": { - "node": "^14 || ^16 || >=18" } }