Skip to content

Bump specfile from 0.28.3 to 0.29.0 #445

Bump specfile from 0.28.3 to 0.29.0

Bump specfile from 0.28.3 to 0.29.0 #445

---
name: build the vscode extension
on:
push:
branches:
- "main"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node-version }}
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v4
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
-node-
- run: npm install
- run: npm run package
- uses: actions/upload-artifact@v4
if: ${{ matrix.node-version == '18.x' }}
with:
name: rpm-spec-language-server.vsix
path: rpm-spec-language-server-*.vsix