Prevent longer dropdowns from cutting out on too low pages, Ref: DEV-384 #402
This file contains hidden or 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: JS | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: Test JS | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v3 | |
| - name: Read .nvmrc | |
| run: echo ::set-output name=NVMRC::$(cat .nvmrc) | |
| id: nvm | |
| - name: Setup node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: '${{ steps.nvm.outputs.NVMRC }}' | |
| - name: Install packages and test JS | |
| run: | | |
| rm package.json | |
| wget https://raw.githubusercontent.com/digitoimistodude/devpackages/master/package.json | |
| sed -i 's/PROJECTNAME/air-light/g' package.json | |
| npm i moveto@^1.8.2 --save | |
| npm i reframe.js@^4.0.0 --save | |
| npm i | |
| npm i [email protected] --save-dev | |
| npx eslint -c .eslintrc.js js/src/ |