Make sure definitions are only generated for ESM module. Fixes 316. #110
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 | |
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 |