diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3da14dd..7cc418b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 18 + node-version-file: '.nvmrc' - name: Install sg run: npm install -g @ast-grep/cli - name: Install deps diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2c1c687f..cd3f2668 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 18 + node-version-file: '.nvmrc' - name: Install deps run: npm install - name: Install vsce