Skip to content

Update build_extension.yml #3

Update build_extension.yml

Update build_extension.yml #3

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Build Extension
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: \
cd Extension-React
ls
npm i
npm run build
mv dist Syrup-dev
- name: Upload dist Artifact
uses: actions/[email protected]
with:
name: Syrup-dev
path: Extension-React/Syrup-dev