-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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' into bug/TypeErrors-instead-of-not-found
- Loading branch information
Showing
270 changed files
with
12,495 additions
and
5,449 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,15 +28,16 @@ on: | |
TEST_VERCEL_USER_ID: | ||
required: true | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
arc_deploy: | ||
name: Architect Deploy | ||
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -71,9 +72,6 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -109,9 +107,6 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -148,9 +143,6 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -190,9 +182,6 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -228,9 +217,6 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -263,9 +249,6 @@ jobs: | |
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
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 |
---|---|---|
|
@@ -6,15 +6,16 @@ on: | |
- main | ||
- dev | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
format: | ||
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
|
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 |
---|---|---|
|
@@ -7,14 +7,15 @@ on: | |
- dev | ||
pull_request: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
name: ⬣ Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -24,14 +25,15 @@ jobs: | |
node-version-file: ".nvmrc" | ||
cache: "yarn" | ||
|
||
- name: 📥 Install deps | ||
run: yarn --frozen-lockfile | ||
|
||
- name: Disable Eslint GitHub Actions Annotations | ||
- name: Disable GitHub Actions Annotations | ||
run: | | ||
echo "::remove-matcher owner=tsc::" | ||
echo "::remove-matcher owner=eslint-compact::" | ||
echo "::remove-matcher owner=eslint-stylish::" | ||
- name: 📥 Install deps | ||
run: yarn --frozen-lockfile | ||
|
||
- name: 🔬 Lint | ||
run: yarn lint | ||
|
||
|
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 |
---|---|---|
|
@@ -5,6 +5,10 @@ on: | |
schedule: | ||
- cron: "0 7 * * *" # every day at 12AM PST | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
CI: true | ||
|
||
|
@@ -22,9 +26,6 @@ jobs: | |
# allows this to be used in the `comment` job below - will be undefined if there's no release necessary | ||
NEXT_VERSION: ${{ steps.version.outputs.NEXT_VERSION }} | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -95,10 +96,6 @@ jobs: | |
name: 📝 Comment on related issues and pull requests | ||
if: github.repository == 'remix-run/remix' && needs.nightly.outputs.NEXT_VERSION | ||
uses: ./.github/workflows/release-comments.yml | ||
with: | ||
ref: "refs/tags/v${{ needs.nightly.outputs.NEXT_VERSION }}" | ||
package_version_to_follow: "remix" | ||
release_branch: "dev" | ||
|
||
deployments: | ||
needs: [nightly] | ||
|
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 |
---|---|---|
|
@@ -2,44 +2,20 @@ name: 📝 Comment on Release | |
|
||
on: | ||
workflow_call: | ||
inputs: | ||
ref: | ||
required: true | ||
type: string | ||
package_version_to_follow: | ||
required: true | ||
type: string | ||
release_branch: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
comment: | ||
name: Comment on Release | ||
name: 📝 Comment on related issues and pull requests | ||
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "npm" | ||
cache-dependency-path: scripts/release/package-lock.json | ||
|
||
- name: 📥 Install deps | ||
run: npm ci | ||
working-directory: ./scripts/release | ||
fetch-depth: 0 | ||
|
||
- name: 📝 Comment on issues | ||
working-directory: ./scripts/release | ||
run: node -r esbuild-register ./comment.ts | ||
env: | ||
GITHUB_REPOSITORY: ${{ github.repository }} | ||
GITHUB_TOKEN: ${{ github.token }} | ||
VERSION: ${{ inputs.ref }} | ||
DEFAULT_BRANCH: "main" | ||
RELEASE_BRANCH: ${{ inputs.release_branch }} | ||
PACKAGE_VERSION_TO_FOLLOW: ${{ inputs.package_version_to_follow }} | ||
- name: 📝 Comment on related issues and pull requests | ||
uses: mcansh/[email protected] | ||
with: | ||
DIRECTORY_TO_CHECK: "./packages" | ||
PACKAGE_NAME: "remix" |
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 |
---|---|---|
|
@@ -9,6 +9,10 @@ on: | |
- "!release-manual" | ||
- "!release-manual-*" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
release: | ||
name: 🦋 Changesets Release | ||
|
@@ -24,14 +28,10 @@ jobs: | |
published_packages: ${{ steps.changesets.outputs.publishedPackages }} | ||
published: ${{ steps.changesets.outputs.published }} | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.NIGHTLY_PAT }} | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v3 | ||
|
@@ -62,7 +62,7 @@ jobs: | |
publish: yarn run changeset:release | ||
createGithubReleases: false | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.NIGHTLY_PAT }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
find_package_version: | ||
|
@@ -73,9 +73,6 @@ jobs: | |
outputs: | ||
package_version: ${{ steps.find_package_version.outputs.package_version }} | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -87,7 +84,7 @@ jobs: | |
|
||
- id: find_package_version | ||
run: | | ||
package_version=$(node ./scripts/release/find-release-from-changeset.js) | ||
package_version=$(node ./scripts/find-release-from-changeset.js) | ||
echo "package_version=${package_version}" >> $GITHUB_OUTPUT | ||
env: | ||
PACKAGE_VERSION_TO_FOLLOW: "remix" | ||
|
@@ -98,10 +95,6 @@ jobs: | |
if: github.repository == 'remix-run/remix' && needs.find_package_version.outputs.package_version != '' | ||
needs: [release, find_package_version] | ||
uses: ./.github/workflows/release-comments.yml | ||
with: | ||
ref: refs/tags/remix@${{ needs.find_package_version.outputs.package_version }} | ||
package_version_to_follow: "remix" | ||
release_branch: ${{ github.ref_name }} | ||
|
||
deployments: | ||
name: 🚀 Deployment Tests | ||
|
Oops, something went wrong.