-
-
Notifications
You must be signed in to change notification settings - Fork 719
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update de Next.js Boilerplate v3.58.1
- Loading branch information
Showing
94 changed files
with
9,168 additions
and
10,370 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
github: ixartz | ||
custom: | ||
[ | ||
"https://nextjs-boilerplate.com/pro-saas-starter-kit", | ||
"https://nextlessjs.com", | ||
] | ||
- 'https://nextjs-boilerplate.com/pro-saas-starter-kit' | ||
- 'https://nextlessjs.com' |
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Checkly | ||
|
||
on: [deployment_status] | ||
|
||
env: | ||
CHECKLY_API_KEY: ${{ secrets.CHECKLY_API_KEY }} | ||
CHECKLY_ACCOUNT_ID: ${{ secrets.CHECKLY_ACCOUNT_ID }} | ||
CHECKLY_TEST_ENVIRONMENT: ${{ github.event.deployment_status.environment }} | ||
|
||
jobs: | ||
test-e2e: | ||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
# Only run when the deployment was successful | ||
if: github.event.deployment_status.state == 'success' | ||
|
||
name: Test E2E on Checkly | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: '${{ github.event.deployment_status.deployment.ref }}' | ||
fetch-depth: 0 | ||
|
||
- name: Set branch name # workaround to detect branch name in "deployment_status" actions | ||
run: echo "CHECKLY_TEST_REPO_BRANCH=$(git show -s --pretty=%D HEAD | tr -s ',' '\n' | sed 's/^ //' | grep -e 'origin/' | head -1 | sed 's/\origin\///g')" >> $GITHUB_ENV | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: npm | ||
|
||
- name: Restore or cache node_modules | ||
id: cache-node-modules | ||
uses: actions/cache@v4 | ||
with: | ||
path: node_modules | ||
key: node-modules-${{ hashFiles('package-lock.json') }} | ||
|
||
- name: Install dependencies | ||
if: steps.cache-node-modules.outputs.cache-hit != 'true' | ||
run: npm ci | ||
|
||
- name: Run checks # run the checks passing in the ENVIRONMENT_URL and recording a test session. | ||
id: run-checks | ||
run: npx checkly test --reporter=github --record | ||
env: | ||
VERCEL_BYPASS_TOKEN: ${{ secrets.VERCEL_BYPASS_TOKEN }} | ||
ENVIRONMENT_URL: ${{ github.event.deployment_status.environment_url }} | ||
|
||
- name: Create summary # export the markdown report to the job summary. | ||
id: create-summary | ||
run: cat checkly-github-report.md > $GITHUB_STEP_SUMMARY | ||
|
||
- name: Deploy checks # if the test run was successful and we are on Production, deploy the checks | ||
id: deploy-checks | ||
if: steps.run-checks.outcome == 'success' && github.event.deployment_status.environment == 'Production' | ||
run: npx checkly deploy --force |
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,33 @@ | ||
name: Crowdin Action | ||
|
||
on: | ||
push: | ||
branches: [main] # Run on push to the main branch | ||
schedule: | ||
- cron: '0 5 * * *' # Run every day at 5am | ||
workflow_dispatch: # Run manually | ||
|
||
jobs: | ||
synchronize-with-crowdin: | ||
name: Synchronize with Crowdin | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: crowdin action | ||
uses: crowdin/github-action@v2 | ||
with: | ||
upload_sources: true | ||
upload_translations: true | ||
download_translations: true | ||
localization_branch_name: l10n_crowdin_translations | ||
create_pull_request: true | ||
pull_request_title: New Crowdin Translations | ||
pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)' | ||
pull_request_base_branch_name: main | ||
commit_message: 'chore: new Crowdin translations by GitHub Action' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |
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,3 +1,3 @@ | ||
#!/bin/sh | ||
# Disable concurent to run `check-types` after ESLint in lint-staged | ||
cd "$(dirname "$0")/.." && npx lint-staged --concurrent false | ||
cd "$(dirname "$0")/.." && npx --no lint-staged --concurrent false |
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,3 +1,4 @@ | ||
# eslint-disable yaml/quotes | ||
languageIds: | ||
- javascript | ||
- typescript | ||
|
Oops, something went wrong.