Bump terser from 1.1.8 to 1.1.19 #140
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
name: Main | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:9.6 | |
env: | |
POSTGRES_PASSWORD: postgres | |
ports: ["5432:5432"] | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
env: | |
DATABASE_URL: postgres://postgres:postgres@localhost:5432/events-api_test | |
RAILS_ENV: test | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
- uses: actions/cache@v2.1.4 | |
with: | |
path: vendor/bundle | |
key: gems-${{ hashFiles('Gemfile.lock') }} | |
restore-keys: gems- | |
- name: Bundle install | |
run: | | |
bundle config path vendor/bundle | |
bundle config set frozen 'true' | |
bundle install --jobs 4 --retry 3 | |
- name: Set Up Database | |
run: bundle exec rails db:create db:schema:load | |
- name: Run specs | |
run: bundle exec rake |