generated from nl-design-system/example
-
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 'main' of github.com:nl-design-system/lux into feat/new-…
…component-list-item
- Loading branch information
Showing
25 changed files
with
3,370 additions
and
3,916 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 |
---|---|---|
|
@@ -12,31 +12,18 @@ jobs: | |
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js version | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20" | ||
uses: actions/[email protected] | ||
|
||
- uses: pnpm/action-setup@v2.4.0 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7 | ||
run_install: false | ||
version: 8.14 | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
run: | | ||
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" | ||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
- name: Set up Node.js version | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
@@ -49,31 +36,18 @@ jobs: | |
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js version | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20" | ||
uses: actions/[email protected] | ||
|
||
- uses: pnpm/action-setup@v2.4.0 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7 | ||
run_install: false | ||
version: 8.14 | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
run: | | ||
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" | ||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
- name: Set up Node.js version | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
@@ -89,31 +63,18 @@ jobs: | |
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js version | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20" | ||
uses: actions/[email protected] | ||
|
||
- uses: pnpm/action-setup@v2.4.0 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7 | ||
run_install: false | ||
version: 8.14 | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
run: | | ||
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" | ||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
- name: Set up Node.js version | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
@@ -138,7 +99,7 @@ jobs: | |
pnpm run --if-present test-build | ||
- name: "Retain build artifact: storybook" | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: storybook | ||
path: packages/storybook/dist/ | ||
|
@@ -150,31 +111,18 @@ jobs: | |
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js version | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20" | ||
uses: actions/[email protected] | ||
|
||
- uses: pnpm/action-setup@v2.4.0 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7 | ||
run_install: false | ||
version: 8.14 | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
run: | | ||
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" | ||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
- name: Set up Node.js version | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
@@ -194,7 +142,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: "Restore build artifact: Storybook" | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4.1.4 | ||
with: | ||
name: storybook | ||
path: packages/storybook/dist/ | ||
|
@@ -212,34 +160,19 @@ jobs: | |
|
||
steps: | ||
- name: Checkout release branch | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
token: ${{ secrets.GH_TOKEN }} | ||
|
||
- name: Set up Node.js version | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20" | ||
|
||
- uses: pnpm/[email protected] | ||
- uses: pnpm/[email protected] | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7 | ||
run_install: false | ||
version: 8.14 | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
run: | | ||
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" | ||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
- name: Set up Node.js version | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
node-version-file: .nvmrc | ||
|
||
- name: "Continuous Deployment: install" | ||
run: | | ||
|
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,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx --no-install lint-staged | ||
npx --no-install 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
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,7 @@ | ||
const minorConfig = require('./.ncurc.minor.cjs'); | ||
|
||
module.exports = { | ||
...minorConfig, | ||
reject: [...minorConfig.reject, 'storybook', '@storybook/*'], | ||
target: 'latest', | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const patchConfig = require('./.ncurc.patch.cjs'); | ||
|
||
module.exports = { | ||
...patchConfig, | ||
reject: [...patchConfig.reject], | ||
target: 'minor', | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
dep: ['dev', 'prod'], | ||
install: 'always', | ||
reject: [], | ||
root: true, | ||
target: 'patch', | ||
upgrade: true, | ||
workspaces: true, | ||
}; |
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
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
Oops, something went wrong.