From 9e38ab853e439aae59cd7cb350a69d9b76d8110e Mon Sep 17 00:00:00 2001 From: Bjorn Stromberg Date: Wed, 1 Sep 2021 22:02:01 +0900 Subject: [PATCH] [CI] Test on node v14 as vercel doesn't support 16 yet --- .github/workflows/nodejs.yml | 8 ++++---- examples/vite.config.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 1e0bc90f..37889677 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 14 cache: 'yarn' - run: yarn install - run: npm run build @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 14 cache: 'yarn' - run: yarn install - run: npm run prettier @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 14 cache: 'yarn' - run: yarn install - run: npm run eslint @@ -59,7 +59,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 14 - name: Download dist uses: actions/download-artifact@v2 with: diff --git a/examples/vite.config.js b/examples/vite.config.js index 8b841d03..14f00b77 100644 --- a/examples/vite.config.js +++ b/examples/vite.config.js @@ -1,4 +1,4 @@ -import { resolve } from 'node:path' +import { resolve } from 'path' import { defineConfig } from 'vite' import reactRefresh from '@vitejs/plugin-react-refresh' import reactJsx from 'vite-react-jsx'