1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 10:40:54 +00:00
psychojs/.github/workflows/main.yml
2023-08-29 15:27:37 +01:00

27 lines
612 B
YAML

name: Build Branch
on: workflow_dispatch
jobs:
build_all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
path: app
- uses: actions/setup-node@master
with:
node-version: 19
- name: Install Node dependencies
run: |
cd app
npm install
- name: Build
run: |
cd app
echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> "$GITHUB_ENV"
echo "testing BRANCH_NAME variable: $BRANCH_NAME"
npm run build:js && npm run build:css
echo "executing ls out on the directory:"
ls out