mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-24 02:39:18 -05:00
test(cypress): added cypress cache and syntax fix (#1923)
* added cypress cache and syntax fix * removal of pnpm version logic
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -28,11 +28,6 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Get PNPM version from package.json
|
||||
id: pnpm-version
|
||||
shell: sh
|
||||
run: echo "pnpm_version=$(node -p 'require(`./package.json`).packageManager.split(\"@\")[1]')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Pnpm Setup
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
|
||||
13
.github/workflows/cypress.yml
vendored
13
.github/workflows/cypress.yml
vendored
@@ -34,16 +34,19 @@ jobs:
|
||||
with:
|
||||
node-version-file: package.json
|
||||
|
||||
- name: Get PNPM version from package.json
|
||||
id: pnpm-version
|
||||
shell: bash
|
||||
run: echo "pnpm_version=$(node -p 'require(`./package.json`).packageManager.split(\"@\")[1]')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Pnpm Setup
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: ${{ steps.pnpm-version.outputs.pnpm_version }}
|
||||
|
||||
- name: Setup cypress cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cache/Cypress
|
||||
key: ${{ runner.os }}-cypress-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-cypress-store-
|
||||
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v6
|
||||
with:
|
||||
|
||||
5
.github/workflows/docs-deploy.yml
vendored
5
.github/workflows/docs-deploy.yml
vendored
@@ -31,11 +31,6 @@ jobs:
|
||||
node-version-file: package.json
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Get PNPM version from package.json
|
||||
id: pnpm-version
|
||||
shell: bash
|
||||
run: echo "pnpm_version=$(node -p 'require(`./package.json`).packageManager.split(\"@\")[1]')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Pnpm Setup
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
|
||||
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -32,11 +32,6 @@ jobs:
|
||||
node-version-file: package.json
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Get PNPM version from package.json
|
||||
id: pnpm-version
|
||||
shell: bash
|
||||
run: echo "pnpm_version=$(node -p 'require(`./package.json`).packageManager.split(\"@\")[1]')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Pnpm Setup
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
|
||||
5
.github/workflows/test-docs-deploy.yml
vendored
5
.github/workflows/test-docs-deploy.yml
vendored
@@ -32,11 +32,6 @@ jobs:
|
||||
with:
|
||||
node-version-file: package.json
|
||||
|
||||
- name: Get PNPM version from package.json
|
||||
id: pnpm-version
|
||||
shell: bash
|
||||
run: echo "pnpm_version=$(node -p 'require(`./package.json`).packageManager.split(\"@\")[1]')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Pnpm Setup
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user