feat(vendor-core): update to jquery 3 #1593
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: Test foreman with foreman-js | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test-foreman: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Checkout foreman-js | |
uses: actions/checkout@v2 | |
with: | |
path: ./projects/foreman-js | |
- name: Checkout foreman | |
uses: actions/checkout@v2 | |
with: | |
repository: theforeman/foreman | |
path: ./projects/foreman | |
- name: Install foreman-js npm dependencies | |
run: npm install | |
working-directory: ${{ github.workspace }}/projects/foreman-js | |
- name: Install foreman npm dependencies | |
run: npm install | |
working-directory: ${{ github.workspace }}/projects/foreman | |
- name: Link foreman-js to foreman | |
run: npm run link -- --location '${{ github.workspace }}/projects/foreman' | |
working-directory: ${{ github.workspace }}/projects/foreman-js | |
- name: Run ${{ matrix.repo }} tests | |
run: npm test | |
working-directory: ${{ github.workspace }}/projects/foreman | |
- name: Run ${{ matrix.repo }} lint | |
run: npm run lint | |
working-directory: ${{ github.workspace }}/projects/foreman |