forked from ngworker/lumberjack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!: migrate to Nx workspace (ngworker#136)
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: CONTRIBUTING.md#commit - [x] Tests for the changes have been added (for bug fixes / features) - [x] Docs have been added / updated (for bug fixes / features) ## PR Type What kind of change does this PR introduce? <!-- Please check the one that applies to this PR using "x". --> ``` [ ] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [x] Build related changes [x] CI related changes [ ] Documentation content changes [ ] Other... Please describe: ``` ## What is the current behavior? Our CI workflow is broken and we are not publishing a partially Ivy-compiled bundle. <!-- Please describe the current behavior that you are modifying, or link to a relevant issue. --> Issue Number: N/A ## What is the new behavior? We use Nrwl's Nx Cloud DTE workflow and we can publish a partially Ivy-compiled bundle. ## Does this PR introduce a breaking change? ``` [x] Yes [ ] No ``` <!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. --> - Require Angular 14.0 - Require RxJS 7.4 ## Other information Merging from https://github.com/ngworker/lumberjack-next. Closes ngworker#101, closes ngworker#84, closes ngworker#98
- Loading branch information
Showing
321 changed files
with
9,465 additions
and
58,181 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"extends": ["@commitlint/config-conventional"], | ||
"rules": {} | ||
} |
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,30 @@ | ||
name: Setup | ||
|
||
description: Setup Node.js, cache and install dependencies | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
# Needed for nx affected command, it set the BASE and HEAD env variables | ||
- name: Derive appropriate SHAs for base and head for `nx affected` commands | ||
uses: nrwl/nx-set-shas@v3 | ||
|
||
- name: Determine Node.js version | ||
id: node_version | ||
shell: bash | ||
run: echo "node_version=$(cat .nvmrc)" >> $GITHUB_OUTPUT | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: yarn | ||
node-version: ${{ steps.node_version.outputs.node_version }} | ||
# This doesn't just set the registry url, but also sets | ||
# the right configuration in .npmrc that reads NPM token | ||
# from NPM_AUTH_TOKEN environment variable. | ||
# It actually creates a .npmrc in a temporary folder | ||
# and sets the NPM_CONFIG_USERCONFIG environment variable. | ||
registry-url: https://registry.npmjs.org | ||
|
||
- name: Install dependencies | ||
shell: bash | ||
run: yarn install --immutable --immutable-cache |
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,28 @@ | ||
name: Open SSH debug session | ||
|
||
description: SSH into the GitHub runner. Run tmux attach once connected. Run exit to close the session. | ||
|
||
# A consumer must add the following permissions | ||
# permissions: | ||
# id-token: write | ||
# contents: read | ||
# actions: read | ||
|
||
inputs: | ||
ssh_gateway: | ||
description: The gateway hostname address or IP address. | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup SSH server for Actor | ||
uses: alexellis/setup-sshd-actor@master | ||
- name: Connect to the actuated SSH gateway | ||
uses: alexellis/actuated-ssh-gateway-action@master | ||
with: | ||
gatewayaddr: ${{ inputs.ssh_gateway }} | ||
# Use TLS | ||
secure: true | ||
- name: Setup a blocking tmux session | ||
uses: alexellis/block-with-tmux-action@master |
Oops, something went wrong.