Bump follow-redirects from 1.4.1 to 1.15.6 #421
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: "[CI] Main folder" | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
- release/* | |
- "*-stable" | |
pull_request: | |
branches-ignore: | |
- "chore/l10n*" | |
env: | |
CI: "true" | |
SIMPLECOV: "true" | |
RUBY_VERSION: 2.5.3 | |
NODE_VERSION: 12.9.1 | |
jobs: | |
main: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: rokroskar/[email protected] | |
if: "github.ref != 'refs/heads/master' || github.ref != 'refs/heads/develop'" | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 1 | |
- uses: ruby/setup-ruby@master | |
with: | |
ruby-version: ${{ env.RUBY_VERSION }} | |
- uses: actions/setup-node@master | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Recover Ruby dependency cache | |
uses: actions/cache@v1 | |
with: | |
path: ./vendor/bundle | |
key: ${{ runner.OS }}-rubydeps-${{ hashFiles('Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.OS }}-rubydeps-${{ env.cache-name }}- | |
${{ runner.OS }}-rubydeps- | |
${{ runner.OS }}- | |
- run: bundle install --path vendor/bundle --jobs 4 --retry 3 | |
name: Install Ruby deps | |
- run: npm ci | |
name: Install JS deps | |
- run: bundle exec rspec | |
name: RSpec |