Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
matrix:
node: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
Expand All @@ -40,19 +40,15 @@ jobs:
matrix:
node: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Install dependencies plugin
run: yarn --no-lockfile --unsafe-perm
- name: Push the package to yalc
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build the plugin
run: yarn build
- name: Add yalc package to the playground
run: yarn playground:yalc-add
- name: Install dependencies playground
run: cd playground && yarn install --unsafe-perm
- name: Build playground
run: yarn playground:build
- name: Run Jest tests
Expand All @@ -66,12 +62,12 @@ jobs:
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
name: cypress-screenshots-node${{ matrix.node }}
path: cypress/screenshots
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`
if-no-files-found: ignore
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos
name: cypress-videos-node${{ matrix.node }}
path: cypress/videos
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`
if-no-files-found: ignore
3 changes: 2 additions & 1 deletion apps/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
"@strapi/plugin-users-permissions": "5.6.0",
"@strapi/strapi": "5.6.0",
"better-sqlite3": "11.3.0",
"pg": "^8.18.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.0.0",
"strapi-plugin-boilerplate": "workspace:*",
"strapi-plugin-boilerplate": "*",
"styled-components": "^6.0.0"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions apps/playground/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ES2019",
"strict": false,
"skipLibCheck": true,
"types": ["node"],
"forceConsistentCasingInFileNames": true,
"incremental": true,
"esModuleInterop": true,
Expand Down
18 changes: 13 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
{
"name": "strapi-plugin-boilerplate-monorepo",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
"lint": "turbo run lint",
"format": "turbo run format",
"test": "turbo run test",
"test:e2e": "pnpm --filter e2e test",
"playground:build": "pnpm --filter playground build",
"playground:develop": "pnpm --filter playground develop",
"playground:start": "pnpm --filter playground start"
"test:ts:front": "turbo run test:ts:front",
"test:ts:back": "turbo run test:ts:back",
"test:jest": "turbo run test:jest",
"test:e2e": "yarn workspace e2e test",
"verify": "turbo run verify",
"playground:build": "yarn workspace playground build",
"playground:develop": "yarn workspace playground develop",
"playground:start": "yarn workspace playground start"
},
"devDependencies": {
"@biomejs/biome": "^1.9.0",
"turbo": "^2.3.0"
},
"packageManager": "pnpm@9.15.0"
"packageManager": "yarn@1.22.22"
}
4 changes: 0 additions & 4 deletions pnpm-workspace.yaml

This file was deleted.

Loading
Loading