* use secrets not env for gh token * fix: dont block debugger on packages build * Revert "use secrets not env for gh token" This reverts commit 4174e1e64b8f5c3376733c0ee389b8b4e0185b61. * update jb test inputs * Update action.yml * ci fix
23 lines
642 B
YAML
23 lines
642 B
YAML
name: "Setup Packages"
|
|
description: "Cache and build packages with npm caching"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
- uses: actions/cache@v4
|
|
with:
|
|
path: ~/.npm
|
|
key: ${{ runner.os }}-npm-cache-packages-${{ hashFiles('packages/*/package-lock.json') }}
|
|
|
|
- uses: actions/cache@v4
|
|
with:
|
|
path: |
|
|
packages/*/node_modules
|
|
key: ${{ runner.os }}-packages-node-modules-${{ hashFiles('packages/*/package-lock.json') }}
|
|
|
|
- name: Build packages
|
|
shell: bash
|
|
run: node ./scripts/build-packages.js
|