Skip to content

Beans!!!!!!

Beans!!!!!! #51

Workflow file for this run

name: Build and Release
on:
release:
types: [published]
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Python 3
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: yarn install --ignore-optional --frozen-lockfile
- name: Build artifact
run: yarn run build
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ABD-${{ github.run_number }}
path: bundle.js