Merge pull request #24 from LPCIC/fix-ci #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ '**' ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install -g vsce | |
- run: npm install | |
- run: vsce package | |
- name: Save Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: 'extension package ${{ matrix.node-version }}' | |
path: ./elpi-lang-*.vsix | |