bin/importmap unpin @rails/ujs #65
Workflow file for this run
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: Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: ${{ matrix.ruby-version }} | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: | |
- "2.7" | |
- "3.0" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: "ranguba/groonga-client" | |
path: "groonga-client" | |
- name: Fix groonga-client path | |
run: | | |
mv groonga-client ../ | |
- uses: actions/checkout@v4 | |
with: | |
repository: "ranguba/groonga-client-model" | |
path: "groonga-client-model" | |
- name: Fix groonga-client-model path | |
run: | | |
mv groonga-client-model ../ | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- uses: actions/setup-node@v4 | |
- name: Install Groonga | |
run: | | |
sudo apt install -y -V software-properties-common | |
sudo add-apt-repository -y ppa:groonga/ppa | |
sudo apt update | |
sudo apt install -y groonga-bin | |
- run: | | |
bundle install | |
- run: | | |
bin/rails webpacker:install | |
- name: Test | |
run: | | |
bin/rails test |