Merge pull request #777 from cultuurnet/feature/III-6040 #329
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: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Run grunt tests | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '10' | |
- name: Install npm | |
run: npm install -g npm@6 | |
- name: Install grunt + bower | |
run: npm install -g grunt-cli bower | |
- name: Run npm install | |
run: npm install | |
- name: Run bower install | |
run: bower install | |
- name: Run tests | |
run: grunt build && grunt test |