Rewrite the entire framework #89
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: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
javascript: | |
# This job only builds the JS, | |
# there are no tests yet. | |
name: Test JavaScript | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: '19.3.0' | |
- run: npm ci | |
- name: Build | |
run: | | |
npm run build:production -w lib/mayu/client | |
ruby: | |
name: Test Ruby | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3.0" | |
bundler-cache: true | |
- name: Run tests | |
run: bundle exec rake test | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: profile | |
path: profile/ |