diff --git a/.github/workflows/js_ci.yml b/.github/workflows/js_ci.yml new file mode 100644 index 0000000..42f543a --- /dev/null +++ b/.github/workflows/js_ci.yml @@ -0,0 +1,21 @@ +--- +name: JavaScript + +on: + pull_request: + paths: + - 'config/webpack.config.js' + - 'webpack/**' + - 'package.json' + - '.github/workflows/js_ci.yml' + +concurrency: + group: ${{ github.ref_name }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + test: + name: JavaScript + uses: theforeman/actions/.github/workflows/foreman_plugin_js.yml@v0 + with: + plugin: foreman_google diff --git a/.github/workflows/js_ci.yml.BAK b/.github/workflows/js_ci.yml.BAK deleted file mode 100644 index f627284..0000000 --- a/.github/workflows/js_ci.yml.BAK +++ /dev/null @@ -1,30 +0,0 @@ -name: JS -on: - pull_request: - paths: - - 'config/webpack.config.js' - - 'webpack/**' - - 'package.json' - - '.github/workflows/js_ci.yml' -jobs: - test_js: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - node-version: [12] - steps: - - uses: actions/checkout@v2 - - name: Setup Node - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Npm install - run: | - npm install - - name: Run plugin linter - run: | - npm run lint - # - name: Run plugin tests - # run: | - # npm run test