Allow configuring admin user #198
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
# This workflow uses actions that are not certified by GitHub. They are | |
# provided by a third-party and are governed by separate terms of service, | |
# privacy policy, and support documentation. | |
# | |
# This workflow will install a prebuilt Ruby version, install dependencies, and | |
# run tests and linters. | |
name: "Lint" | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Ruby and gems | |
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0 | |
with: | |
bundler-cache: true | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.12.1' | |
- name: Install dependencies | |
run: yarn | |
# Add or replace any other lints here | |
- name: Rubocop | |
run: bundle exec rubocop | |
- name: Slim-Lint | |
run: bundle exec slim-lint app/ | |
- name: ERB-Lint | |
run: bundle exec erblint --lint-all | |
- name: TypeScript Check | |
run: yarn run tsc --noEmit | |
- name: ESLint | |
run: yarn eslint ./app/javascript | |
- name: Prettier | |
run: yarn prettier --check ./app/javascript |