Skip to content

Build(deps): Bump @babel/plugin-transform-object-super #2497

Build(deps): Bump @babel/plugin-transform-object-super

Build(deps): Bump @babel/plugin-transform-object-super #2497

Workflow file for this run

name: CI
on: [push]
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Rubocop
run: bundle exec rubocop
brakeman:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Brakeman
run: bundle exec brakeman
eslint:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: get yarn cache directory path
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Setup cache key and directory for node_modules cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: yarn
run: yarn --frozen-lockfile
- name: lint
run: yarn lint
stylelint:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: get yarn cache directory path
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Setup cache key and directory for node_modules cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: yarn
run: yarn --frozen-lockfile
- name: stylelint
run: npx stylelint "app/javascript/**/*.scss"
jest:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: get yarn cache directory path
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Setup cache key and directory for node_modules cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: yarn
run: yarn --frozen-lockfile
- name: test
run: yarn test
prettier:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: get yarn cache directory path
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Setup cache key and directory for node_modules cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: yarn
run: yarn --frozen-lockfile
- name: prettier
run: bin/prettier --check
rspec:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: get yarn cache directory path
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Setup cache key and directory for node_modules cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: yarn
run: yarn --frozen-lockfile
- name: run bin/webpacker
run: bin/webpacker
- name: rspec
run: bundle exec rspec
- name: Archive capybara artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: capybara
path: tmp/capybara/