Skip to content

chore(deps): bump webpack from 5.89.0 to 5.90.0 #1436

chore(deps): bump webpack from 5.89.0 to 5.90.0

chore(deps): bump webpack from 5.89.0 to 5.90.0 #1436

Workflow file for this run

name: CI
on:
pull_request:
branches:
- '*'
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:10
env:
POSTGRES_PASSWORD: password
ports:
- 5432/tcp
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2-beta
with:
node-version: '20'
- 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@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.2'
bundler-cache: true
- name: Test
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:[email protected]:${{ job.services.postgres.ports[5432] }}/support_act_test
# mirror .env
SENDER: [email protected]
LAST_FM_API_KEY: testing_key
LAST_FM_API_SECRET: testing_secret
run: |
echo $DATABASE_URL
./bin/bootstrap
./bin/rake
./bin/bundle exec rubocop
deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- uses: akhileshns/[email protected] # This is the action
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
heroku_email: ${{ secrets.HEROKU_EMAIL }}