Skip to content

Prepend with npx

Prepend with npx #11

Workflow file for this run

name: Test and Build VSIX
on:
push:
branches:
- '*'
pull_request:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/release'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@12.5
with:
cli: latest
bb: latest
- name: Cache clojure/java dependencies
uses: "actions/cache@v4"
with:
path: |
~/.m2/repository
~/.gitlibs
~/.deps.clj
key: "${{ runner.os }}-clojure-${{ hashFiles('deps.edn') }}"
restore-keys: "${{ runner.os }}-clojure-"
- name: Cache npm
uses: "actions/cache@v4"
with:
path: "~/.npm"
key: "${{ runner.os }}-npm-${{ hashFiles('package.json') }}"
restore-keys: "${{ runner.os }}-npm-"
- name: Build VSIX
run: |
set -x
npx vsce package --allow-star-activation --githubBranch master
- name: Make VSIX available
run: |
cp *.vsix /tmp/artifacts/