Skip to content

Replace KeyboardEvent.keyKeyboardEvent.code wherever possible #2356

Replace KeyboardEvent.keyKeyboardEvent.code wherever possible

Replace KeyboardEvent.keyKeyboardEvent.code wherever possible #2356

Workflow file for this run

name: CI
on: [push, pull_request]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
BLIND_INDEX_MASTER_KEY: "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
LOCKBOX_MASTER_KEY: "0000000000000000000000000000000000000000000000000000000000000000"
jobs:
linters:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup System
run: |
sudo apt update
sudo apt-get install libsqlite3-dev
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
bundler-cache: true
- uses: actions/setup-node@v3
with:
node-version: "14"
check-latest: true
- run: yarn install
- name: ESLint
run: |
yarn run eslint app/javascript
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup System
run: |
sudo apt update
sudo apt-get install libsqlite3-dev
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
bundler-cache: true
- uses: actions/setup-node@v3
with:
node-version: "14"
check-latest: true
cache: 'yarn'
cache-dependency-path: './yarn.lock'
- run: yarn install
- name: Precompile assets
run: |
bundle exec rails webpacker:compile RAILS_ENV=test
- name: Test
run: |
bundle exec rake db:test:prepare
bundle exec rails test
- name: RSpec
run: |
bundle exec rspec
- name: Jest
run: |
yarn jest
features:
name: Cucumber Feature Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup System
run: |
sudo apt update
sudo apt-get install libsqlite3-dev
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
bundler-cache: true
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "14"
check-latest: true
cache: 'yarn'
cache-dependency-path: './yarn.lock'
- run: yarn install
- name: Precompile assets
run: |
bundle exec rails webpacker:compile RAILS_ENV=test
- name: Cucumber
run: |
bundle exec rake db:test:prepare
bundle exec cucumber