Skip to content

ci: Workflow Bot -- Update ALL Dependencies (#702) #1380

ci: Workflow Bot -- Update ALL Dependencies (#702)

ci: Workflow Bot -- Update ALL Dependencies (#702) #1380

Workflow file for this run

name: " 🧪 build-test"
on: # rebuild any PRs and main branch changes
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
list_extensions:
runs-on: ubuntu-latest
outputs:
extension_list: ${{ env.EXTENSION_LIST }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: From Script
run: |
echo extensions_from_script=$(./scripts/list-extensions.sh) >> $GITHUB_ENV
- name: EXTENSION_LIST
env:
EXTENSION_LIST: ${{ env.extensions_from_script }}
run: |
echo EXTENSION_LIST=$EXTENSION_LIST >> $GITHUB_ENV
build-test:
runs-on: ubuntu-latest
needs:
- list_extensions
strategy:
matrix:
extension_dir: ${{ fromJSON(needs.list_extensions.outputs.extension_list) }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
cache: npm
- run: npm install
- run: |
cd ${{ matrix.extension_dir }}
npm run pack-extension