Fix install commands for different yarn versions (#525) #675
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: Dummy specs | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
concurrency: | |
# Pushing new changes to a branch will cancel any in-progress CI runs | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.1.2' | |
- name: Install dependencies | |
run: | | |
bundle install | |
yarn install | |
sudo yarn global add yalc | |
- name: Run tests | |
run: bundle exec rake run_spec:dummy |