kacperek18 #274
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: Run Tests | |
on: | |
push: | |
paths: | |
- '**.rb' | |
- '**.js' | |
- package.json | |
- 'source/*/examples/*.*' | |
pull_request: | |
paths: | |
- '**.rb' | |
- '**.js' | |
- package.json | |
- 'source/*/examples/*.*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js for use with actions | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 10.x | |
- name: Setup Ruby for use with actions | |
uses: eregon/use-ruby-action@v1 | |
with: | |
ruby-version: 2.6 | |
- name: test | |
run: | | |
gem install bundler | |
bundler install | |
npm ci | |
export FORNIX_FOLDER="$PWD" | |
commands/project/build | |
commands/project/test | |
env: | |
CI: true |