v2.0.3: Rabby fixes #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
inputs: | |
ci: | |
description: 'CI' | |
required: false | |
default: '' | |
type: choice | |
options: | |
- 'CI' | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build-extension: | |
name: Build extension | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v3 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: Enable corepack | |
run: corepack enable | |
- name: Set yarn version | |
run: yarn set version 3.7.0 | |
- name: Clean yarn cache | |
run: yarn cache clean --all | |
- name: Disable immutable installs | |
run: yarn config set -H enableImmutableInstalls false | |
- name: Run yarn | |
run: | | |
yarn | |
- name: Build and bundle | |
run: yarn bundle | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: brahma-connect | |
path: ./brahma-connect.zip | |
if-no-files-found: error |