-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/main' into #30-branch-name-and-is-pr-overrides
# Conflicts: # packages/branch-utilities/package.json # packages/publish-helper/package.json
- Loading branch information
Showing
45 changed files
with
13,519 additions
and
8,374 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,40 +42,40 @@ jobs: | |
steps: | ||
# checkout branch | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
# 0 indicates all history, because publish requires tag information | ||
fetch-depth: 0 | ||
# we need privileged access to publish to protected branch | ||
token: ${{ secrets.GH_TOKEN_PUBLIC_REPO }} | ||
# setup node and yarn cache | ||
- name: Setup Node and Yarn Cache | ||
uses: actions/setup-node@v3 | ||
# setup node and dependency cache | ||
- name: Setup Node and NPM Cache | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: 'yarn' | ||
# yarn install | ||
node-version-file: .nvmrc | ||
cache: 'npm' | ||
# install dependencies | ||
- name: Install | ||
run: HUSKY=0 yarn --frozen-lockfile | ||
run: HUSKY=0 npm ci | ||
# build lint plugins before linting | ||
- name: Build lint plugins | ||
run: yarn build:lint:ci | ||
run: npm run build:lint:ci | ||
# lint | ||
- name: Lint | ||
run: yarn lint:ci | ||
run: npm run lint:ci | ||
# test | ||
- name: Test | ||
run: yarn test:ci | ||
run: npm run test:ci | ||
# build | ||
- name: Build | ||
run: yarn build:ci | ||
run: npm run build:ci | ||
# publish | ||
- name: Publish | ||
run: | | ||
npm config set //npm.pkg.github.com/:_authToken=$REGISTRY_TOKEN | ||
git config user.email "[email protected]" | ||
git config user.name "Github Actions" | ||
yarn publish-libs | ||
npm run publish-libs | ||
env: | ||
GITHUB_CONTEXT: ${{ toJson(github) }} | ||
REGISTRY_TOKEN: ${{ secrets.GITHUB_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,6 @@ lerna-debug.log | |
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
.nx/cache | ||
.nx/workspace-data |
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,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx commitlint -e $1 |
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,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged && npx lerna exec --concurrency 1 --stream lint-staged |
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 @@ | ||
v20.11.1 |
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,24 +1,27 @@ | ||
{ | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx/tasks-runners/default", | ||
"options": { | ||
"cacheableOperations": [ | ||
"build:ci", | ||
"build", | ||
"lint:ci", | ||
"lint:src", | ||
"test:ci" | ||
] | ||
} | ||
} | ||
}, | ||
"$schema": "./node_modules/nx/schemas/nx-schema.json", | ||
"targetDefaults": { | ||
"build": { | ||
"dependsOn": ["^build"], | ||
"outputs": [ | ||
"{projectRoot}/dist" | ||
] | ||
"outputs": ["{projectRoot}/dist"], | ||
"cache": true | ||
}, | ||
"build:ci": { | ||
"cache": true | ||
}, | ||
"lint:ci": { | ||
"cache": true | ||
}, | ||
"lint:src": { | ||
"cache": true | ||
}, | ||
"test:ci": { | ||
"cache": true | ||
} | ||
}, | ||
"namedInputs": { | ||
"default": ["{projectRoot}/**/*", "sharedGlobals"], | ||
"sharedGlobals": [], | ||
"production": ["default"] | ||
} | ||
} |
Oops, something went wrong.