Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:redwoodjs/redwood into rc-serverles…
…s-setup * 'main' of github.com:redwoodjs/redwood: (87 commits) Update scripts tsconfig (#4258) Update dependency @types/aws-lambda to v8.10.92 (#4260) Update dependency @apollo/client to v3.5.8 (#4262) Update dependency msw to v0.36.7 (#4252) Update typescript-eslint monorepo to v5.10.1 (#4256) Update dependency webpack-cli to v4.9.2 (#4254) Update dependency @supabase/supabase-js to v1.29.4 (#4253) Update dependency supertokens-auth-react to v0.18.4 (#4255) Update dependency ts-morph to v13.0.3 (#4251) Update dependency supertokens-auth-react to v0.18.3 (#4248) Update dependency esbuild to v0.14.13 (#4249) Fixed netlify api config (#4247) Add storybook ci option to test that Storybook starts "ok" (#3515) Update dependency react-hook-form to v7.25.0 (#4245) Update dependency firebase-admin to v10.0.2 (#4244) Fix type definitions for pages that take props (#4219) update yarn.lock v0.42.1 update yarn.lock Pin dependency @types/yargs to v16.0.4 (#4243) ...
- Loading branch information
Showing
108 changed files
with
2,680 additions
and
1,769 deletions.
There are no files selected for viewing
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
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
name: Telemetry Checks and Benchmarks | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
cypress-run: | ||
if: github.repository == 'redwoodjs/redwood' | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-latest'] | ||
node-version: ['14', '16'] | ||
fail-fast: true | ||
runs-on: ${{ matrix.os }} | ||
name: ${{ matrix.os }} | Node ${{ matrix.node-version }} latest | ||
env: | ||
REDWOOD_CI: 1 | ||
REDWOOD_VERBOSE_TELEMETRY: 1 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn config get cacheFolder)" | ||
|
||
- name: Cache yarn | ||
uses: actions/cache@v2 | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
yarn- | ||
- name: Install dependencies and Build Framework | ||
run: | | ||
yarn install --immutable | ||
yarn build:clean && yarn build:js | ||
- name: Create a temporary directory | ||
id: createpath | ||
run: | | ||
project_path=$(mktemp -d -t redwood.XXXXXX) | ||
echo "::set-output name=project_path::$project_path" | ||
framework_path=$(pwd) | ||
echo "::set-output name=framework_path::$framework_path" | ||
- name: Create Redwood Project | ||
run: | | ||
yarn babel-node packages/create-redwood-app/src/create-redwood-app.js ${{ steps.createpath.outputs.project_path }} --no-yarn-install | ||
- name: Add Framework Dependencies to Project | ||
run: | | ||
yarn project:deps ${{ steps.createpath.outputs.project_path }} | ||
- name: Run Project Yarn Install | ||
run: | | ||
yarn install | ||
working-directory: ${{ steps.createpath.outputs.project_path }} | ||
|
||
- name: Copy Framework Packages to Project | ||
run: | | ||
yarn project:copy ${{ steps.createpath.outputs.project_path }} | ||
- name: Run `rw info` | ||
run: | | ||
yarn rw info | ||
working-directory: ${{ steps.createpath.outputs.project_path }} | ||
|
||
- name: Run `rw build` | ||
run: | | ||
yarn rw build | ||
working-directory: ${{ steps.createpath.outputs.project_path }} | ||
|
||
- name: Run "prisma migrate dev" | ||
run: | | ||
yarn rw prisma migrate dev --name ci-test | ||
working-directory: ${{ steps.createpath.outputs.project_path }} | ||
|
||
- name: Run "g page" | ||
run: | | ||
yarn rw g page home / | ||
working-directory: ${{ steps.createpath.outputs.project_path }} | ||
|
||
- name: Throw Error | Run `rw g sdl <model>` | ||
run: | | ||
yarn rw g sdl DoesNotExist | ||
working-directory: ${{ steps.createpath.outputs.project_path }} | ||
continue-on-error: true |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "0.41.0", | ||
"version": "0.42.1", | ||
"npmClient": "yarn", | ||
"useWorkspaces": true, | ||
"command": { | ||
|
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
Oops, something went wrong.