Skip to content

Fixed issue #19899: Order of question when copying are bad #58

Fixed issue #19899: Order of question when copying are bad

Fixed issue #19899: Order of question when copying are bad #58

Workflow file for this run

# This workflow will prepare and test the frontend
name: LimeSurvey 5 unofficial - Frontend - CI pipeline
# Triggers the workflow on push or pull request events on all branches
on:
pull_request:
push:
branches:
- '*'
- '**'
- 'dev/**'
- 'bug/**'
- 'feature/**'
- 'zoho/**'
jobs:
job_build_packages:
runs-on: ubuntu-20.04 # ubuntu runner hosted by Github
strategy:
matrix:
# Specify what version of nodejs you want to test
nodeJS-versions: ['10.16.3']
name: Build Frontend Packages
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Prepare nvm with Node ${{ matrix.nodeJS-versions }}
run: |
# Update
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.nvm/nvm.sh
# Install Node.js
nvm install ${{ matrix.nodeJS-versions }}
nvm use ${{ matrix.nodeJS-versions }}
- name: Install adminbasics
run: |
cd ${{ github.workspace }}
yarn --cwd ./assets/packages/adminbasics
- name: Build adminbasics
run: |
cd ${{ github.workspace }}
yarn --cwd ./assets/packages/adminbasics build
# - name: Install adminsidepanel
# run: |
# cd ${{ github.workspace }}
# yarn --cwd ./assets/packages/adminsidepanel
# TODO: Enable this step, when its possible to build adminsidepanel again
# - name: Build adminsidepanel
# run: |
# cd ${{ github.workspace }}
# yarn --cwd ./assets/packages/adminsidepanel build
job_run_tests:
needs: [job_build_packages]
runs-on: ubuntu-20.04 # ubuntu runner hosted by Github
strategy:
matrix:
# Specify what version of nodejs you want to test
nodeJS-versions: ['10.16.3']
name: Run Frontend Tests
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Prepare nvm with Node ${{ matrix.nodeJS-versions }}
run: |
# Update
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.nvm/nvm.sh
# Install Node.js
nvm install ${{ matrix.nodeJS-versions }}
nvm use ${{ matrix.nodeJS-versions }}
- name: Install adminbasics
run: |
cd ${{ github.workspace }}
yarn --cwd ./assets/packages/adminbasics
# - name: Install adminsidepanel
# run: |
# cd ${{ github.workspace }}
# yarn --cwd ./assets/packages/adminsidepanel
- name: Run Tests
run: |
cd ${{ github.workspace }}
yarn --cwd ./assets/packages/adminbasics run test
# yarn --cwd ./assets/packages/adminsidepanel run test