Skip to content

v2.28.2 time step size pddl function injection #297

v2.28.2 time step size pddl function injection

v2.28.2 time step size pddl function injection #297

name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
node-version: [20]
os: [windows-latest, ubuntu-22.04] # macos-latest,
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: NPM Install
run: npm install
- run: npm run compile
- name: Run extension integration tests in head-less VS Code
if: success()
uses: coactions/setup-xvfb@v1
with:
run: npm test
- name: Package extension
if: success()
run: |
npx vsce package
publish:
needs: build
runs-on: ubuntu-latest
if: success() && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: NPM Install
run: npm install
- name: Publish extension to marketplace
run: |
npx vsce publish -p $VSCE_TOKEN
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
continue-on-error: true