Skip to content

Commit

Permalink
build-extension.yml update
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Nov 28, 2024
1 parent 2e900dd commit 39f050a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install node

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: 'lts/*'

- name: Install Yarn
run: corepack enable

- name: Install Python
uses: actions/setup-python@v4
with:
Expand All @@ -33,6 +38,7 @@ jobs:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Setup yarn cache
uses: actions/cache@v3
id: yarn-cache
Expand All @@ -44,9 +50,10 @@ jobs:
- name: Install dependencies
run: python -m pip install -U jupyterlab jupyter_packaging jupyterlab_widgets

- name: Use existing lockfile
run: yarn install --frozen-lockfile

- name: Build the extension
working-directory: js
run: |
npm install
run: npm install

0 comments on commit 39f050a

Please sign in to comment.