Skip to content

Commit

Permalink
Fixes #1 - Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bastian-src committed Dec 20, 2023
1 parent 4b7fc9b commit fa1899a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/js_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: JavaScript Testing
on:
push:
branches:
- main
pull_request:
paths:
- 'webpack/**'
- 'package.json'
- '.github/workflows/js_tests.yml'
jobs:
test_js:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [12]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: theforeman/foreman
ref: 3.8-stable
path: foreman
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Npm install
run: npm install
- name: Npm install for core
run: npm install
working-directory: ./foreman
- name: Run plugin linter
run: npm run lint

0 comments on commit fa1899a

Please sign in to comment.