diff --git a/.github/disabled-workflows/cypress.yml b/.github/workflows/cypress.yml similarity index 87% rename from .github/disabled-workflows/cypress.yml rename to .github/workflows/cypress.yml index ac251772..802d4dd6 100644 --- a/.github/disabled-workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -10,7 +10,7 @@ on: - packages/true-time/** - packages/player/** pull_request: - branches: [ "main"] + branches: [ "main" ] paths: - packages/true-time/** - packages/player/** @@ -26,7 +26,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - uses: ./.github/actions/setup - - uses: ./.github/actions/build-projects - name: Prepare test user for player tests id: json run: | @@ -38,6 +37,11 @@ jobs: echo "encoded=\"$encoded_json\"" >> $GITHUB_OUTPUT env: TEST_USER: ${{ secrets.PLAYER_TEST_USER }} + - name: Set up Cypress binary cache + uses: actions/cache@v4 + with: + path: ~/.cache/Cypress + key: ${{ runner.os }}-cypress-${{ hashFiles('pnpm-lock.yaml') }} - name: Cypress run uses: cypress-io/github-action@v6 env: diff --git a/packages/player/README.md b/packages/player/README.md index 658c1fe0..421aac9a 100644 --- a/packages/player/README.md +++ b/packages/player/README.md @@ -32,7 +32,7 @@ To load TIDAL Player into a project locally without publishing to npm; using `pn 1. Open the package.json in the project. (in the case of webclient, the root one) 2. Add or edit a `"resolutions"` property on the top level. (this is an object) -3. Add an entry for @tidal-music/player like so: `"@tidal-music/player": "file:/Users/yourusername/dev/tidal-sdk-web/packages/player"` +3. Add an entry for @tidal-music/player like so: `"@tidal-music/player": "file:/Users//dev/tidal-sdk-web/packages/player"` 4. Run `npm/yarn/pnpm install` in your destination project. !! Remove the entry in `"resolution"` and run `npm/yarn/pnpm install` again when you are done testing to have the NPM version of the package load instead.