-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/splitted-project-json-command
- Loading branch information
Showing
611 changed files
with
18,706 additions
and
7,650 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 |
---|---|---|
|
@@ -158,9 +158,11 @@ jobs: | |
timeout-minutes: 45 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
if: ${{ !contains(github.ref, '-') }} | ||
- name: Build | ||
id: build | ||
uses: cross-platform-actions/[email protected] | ||
if: ${{ !contains(github.ref, '-') }} | ||
uses: cross-platform-actions/[email protected] | ||
env: | ||
DEBUG: napi:* | ||
RUSTUP_IO_THREADS: 1 | ||
|
@@ -197,9 +199,10 @@ jobs: | |
rm -rf node_modules | ||
rm -rf dist | ||
echo "KILL ALL NODE PROCESSES" | ||
killall node | ||
killall node || true | ||
echo "COMPLETE" | ||
- name: Upload artifact | ||
if: ${{ !contains(github.ref, '-') }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: bindings-freebsd | ||
|
@@ -240,12 +243,15 @@ jobs: | |
npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN | ||
pnpm nx-release --local=false $GITHUB_REF_NAME | ||
- name: Trigger Docs Release | ||
# Publish docs only on a full release and when publishing the latest version | ||
if: ${{ !github.event.release.prerelease && github.event.release.target_commitish == 'master' }} | ||
# Publish docs only on a full release | ||
if: ${{ !github.event.release.prerelease }} | ||
run: | | ||
# Publish docs only when publishing the latest version | ||
if [ "$(git describe --tags `git rev-list --tags --max-count=1`)" = "$GITHUB_REF_NAME" ]; then | ||
# We force recreate the branch in order to always be up to date and avoid merge conflicts within the automated workflow | ||
git branch -f website | ||
git push -f origin website | ||
fi | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
NPM_TOKEN: ${{ secrets.NPM_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 |
---|---|---|
@@ -1,59 +1,61 @@ | ||
parallelism: 8 | ||
env: | ||
CI: 'true' | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
GIT_AUTHOR_NAME: Test | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
GIT_COMMITTER_NAME: Test | ||
NX_E2E_CI_CACHE_KEY: e2e-circleci-linux | ||
NX_VERBOSE_LOGGING: 'false' | ||
NX_DAEMON: 'true' | ||
NX_PERF_LOGGING: 'false' | ||
NX_NATIVE_LOGGING: 'false' | ||
SELECTED_PM: 'pnpm' | ||
NX_E2E_RUN_E2E: 'true' | ||
NPM_CONFIG_PREFIX: '/home/workflows/.npm-global' | ||
NX_CLOUD_ACCESS_TOKEN: '{{secrets.NX_CLOUD_ACCESS_TOKEN}}' | ||
on: | ||
- events: | ||
- CREATE_RUN_GROUP | ||
steps: | ||
- name: Checkout | ||
uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/checkout/main.yaml' | ||
|
||
- name: Cache restore | ||
uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/cache/main.yaml' | ||
launch-templates: | ||
linux-medium: | ||
resource-class: 'docker_linux_amd64/medium+' | ||
env: | ||
KEY: 'pnpm-lock.yaml' | ||
PATHS: | | ||
node_modules | ||
~/.cache/Cypress | ||
~/.pnpm-store | ||
BASE_BRANCH: 'master' | ||
|
||
- name: Install Pnpm | ||
script: | | ||
npm install -g @pnpm/[email protected] | ||
- name: Pnpm Install | ||
script: | | ||
pnpm install --frozen-lockfile | ||
- name: Install Cypress | ||
script: pnpm exec cypress install | ||
|
||
- name: Install Rust | ||
script: | | ||
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y | ||
source "$HOME/.cargo/env" | ||
rustup toolchain install 1.70.0 | ||
- name: Configure git metadata (needed for lerna smoke tests) | ||
script: | | ||
git config --global user.email [email protected] | ||
git config --global user.name "Test Test" | ||
- name: Run Agent | ||
script: | | ||
source "$HOME/.cargo/env" | ||
npx nx-cloud start-agent | ||
CI: 'true' | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
GIT_AUTHOR_NAME: Test | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
GIT_COMMITTER_NAME: Test | ||
NX_E2E_CI_CACHE_KEY: e2e-circleci-linux | ||
NX_VERBOSE_LOGGING: 'true' | ||
NX_PERF_LOGGING: 'false' | ||
NX_NATIVE_LOGGING: 'false' | ||
SELECTED_PM: 'pnpm' | ||
NX_E2E_RUN_E2E: 'true' | ||
NPM_CONFIG_PREFIX: '/home/workflows/.npm-global' | ||
NX_CLOUD_ACCESS_TOKEN: '{{secrets.NX_CLOUD_ACCESS_TOKEN}}' | ||
init-steps: | ||
- name: LSCPU | ||
script: | | ||
lscpu | ||
- name: Checkout | ||
uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/checkout/main.yaml' | ||
|
||
- name: Cache restore | ||
uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/cache/main.yaml' | ||
env: | ||
KEY: 'pnpm-lock.yaml' | ||
PATHS: | | ||
node_modules | ||
~/.cache/Cypress | ||
~/.pnpm-store | ||
BASE_BRANCH: 'master' | ||
|
||
- name: Install Pnpm | ||
script: | | ||
npm install -g @pnpm/[email protected] | ||
- name: Pnpm Install | ||
script: | | ||
pnpm install --frozen-lockfile | ||
- name: Install Cypress | ||
script: pnpm exec cypress install | ||
|
||
- name: Install Rust | ||
script: | | ||
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y | ||
source "$HOME/.cargo/env" | ||
rustup toolchain install 1.70.0 | ||
- name: Configure git metadata (needed for lerna smoke tests) | ||
script: | | ||
git config --global user.email [email protected] | ||
git config --global user.name "Test Test" | ||
- name: Load Cargo Env | ||
script: echo "PATH=$HOME/.cargo/bin:$PATH" >> $NX_CLOUD_ENV | ||
|
||
- name: Benchmark | ||
script: node tools/benchmark/benchmark.js |
Oops, something went wrong.