Release 1.5.1 (#151) #1
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: Extension | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
extension-test: | |
name: integration tests | |
strategy: | |
matrix: | |
os: | |
# - macos-latest, | |
- ubuntu-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
- name: Install dependencies | |
run: npm install && npx tsc -p core && npm link ./core -w extension | |
- name: Build all workspaces | |
run: npm run build | |
- name: Run CI script in extension workspace (Linux) | |
run: xvfb-run -a npm run --workspace extension ci | |
if: runner.os == 'Linux' | |
- name: Run CI script in extension workspace (Windows or macOS) | |
run: npm run --workspace extension ci | |
if: runner.os != 'Linux' | |
package-extension: | |
name: packaging | |
needs: [extension-test] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
- name: Install dependencies | |
run: npm install && npx tsc -p core && npm link ./core -w cli | |
- name: Package Extension | |
run: npm run --workspace extension package | |
- name: Publish extension artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: extension | |
path: extension/ailly-*.vsix |