Skip to content

Update build.yml

Update build.yml #4

Workflow file for this run

name: Run Build
on:
push:
branches:
- main
pull_request:
branches:
- main
# This concurrency mode will cancel in-progress workflows if a new commit is pushed
concurrency:
group: ${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
- name: Install dependencies
run: npm install
- name: Run build
run: npm run build
- name: Run package
run: npm run pack
- uses: actions/upload-artifact@v3
with:
name: pro4trello
path: release/*.zip