diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2b7a9a1..3316ead 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,24 +16,15 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] # Lock to the version shipped with VSCode 1.43+ - node-version: ['16'] + node-version: ['18'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 - id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- + cache: "yarn" - run: yarn install --frozen-lockfile - run: yarn lint - run: yarn build @@ -45,20 +36,10 @@ jobs: runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 16 - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 - id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- + node-version: 18 - run: yarn install --frozen-lockfile - run: yarn build - run: yarn package diff --git a/package.json b/package.json index 7a120eb..e501ebd 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "icon": "images/icon.png", "license": "MIT", "engines": { - "vscode": "^1.47.0" + "vscode": ">=1.82.0" }, "categories": [ "Programming Languages",