-
Notifications
You must be signed in to change notification settings - Fork 154
47 lines (40 loc) · 1.04 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- ruby: "2.7"
gemfile: gemfiles/rails50_sprockets_3.gemfile
- ruby: "2.7"
gemfile: gemfiles/rails51_sprockets_3.gemfile
- ruby: "2.7"
gemfile: gemfiles/rails52_sprockets_3.gemfile
- ruby: "3.2"
gemfile: gemfiles/rails70_sprockets_4.gemfile
- ruby: "3.3"
gemfile: gemfiles/rails80_sprockets_4.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/setup-node@v3
with:
node-version: "20"
- name: Enable Corepack
run: corepack enable
- name: install dependencies
run: |
bundle install --jobs 3 --retry 3
yarn install
- name: test
run: bundle exec rake spec