Skip to content

upgrade pygls

upgrade pygls #474

---
name: VSCode Extension Build
on:
push:
branches:
- "main"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.7.0
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@v3.3.1
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules/*
key: ${{ matrix.node-version }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ matrix.node-version }}-yarn-
- run: yarn install || yarn install || yarn install
- run: yarn run package
- uses: actions/upload-artifact@v3
if: ${{ matrix.node-version == '14.x' }}
with:
name: salt-lsp.vsix.zip
path: salt-lsp-*.vsix