Skip to content

code cleanup

code cleanup #7

Workflow file for this run

---
name: ci
on:
push:
branches: [master]
paths:
- '**.js'
pull_request:
branches: [master]
paths:
- '**.js'
env:
CI: true
PACKAGES: 'language-puppet'
jobs:
lint-and-test:
strategy:
matrix:
os: [ubuntu-22.04]
channel: [beta]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v3
- uses: UziTech/action-setup-atom@v3
with:
version: ${{ matrix.channel }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: atom version
run: atom -v
- name: apm version
run: apm -v
- name: install dependencies
run: apm install && apm install ${PACKAGES} && apm clean
- name: lint source and spec
run: ./node_modules/.bin/eslint lib spec || true
- name: install puppet
run: gem install --no-document puppet-lint
- name: run tests
run: atom --test spec