Use theforeman github actions for ruby testing #17
Workflow file for this run
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: React and Javascript tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test_js: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [14] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install | |
- name: Linting | |
run: | | |
# FIXME: we need to fix the findings, first | |
#npm run lint | |
npm run stylelint | |
- name: Testing | |
run: npm run test | |
... |