mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-06 11:00:09 -06:00
* Initial Setup for Toggle * Enhancements to Offline (#279) * [skip actions] * xcode and project stuff * Enhancements to Offline (#279) * fix workflows * we don't need tests running on a pr, it's already going to run on a push * complete move to yarn * run formatter * fix build, prep for using mediasources * linting errors --------- Co-authored-by: Ritesh Shukla <ritesh.shukla2@M-LD4JMWLW26.local> Co-authored-by: Violet Caulfield <42452695+anultravioletaurora@users.noreply.github.com> Co-authored-by: anultravioletaurora <jellify@cosmonautical.com> Co-authored-by: Violet Caulfield <violet@cosmonautical.cloud>
29 lines
664 B
YAML
29 lines
664 B
YAML
name: Run Jest Unit Tests
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- "main"
|
|
|
|
jobs:
|
|
run-jest-test-suite:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: 🛒 Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: 🖥 Setup Node 20
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: 💬 Echo package.json version to Github ENV
|
|
run: echo VERSION_NUMBER=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV
|
|
|
|
- name: 🟢 Run yarn init:ios
|
|
run: yarn init:ios
|
|
|
|
- name: 🧪 Run npm test
|
|
run: yarn test
|
|
|
|
- name: 🦋 Check Styling
|
|
run: yarn format:check |