-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from mrjvs/make-conf-real-please
Prepare release for @neato/config
- Loading branch information
Showing
44 changed files
with
1,458 additions
and
155 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,49 @@ | ||
name: config - lint and typecheck | ||
|
||
on: | ||
pull_request: {} | ||
|
||
jobs: | ||
check: | ||
name: Check if files modified | ||
runs-on: ubuntu-latest | ||
outputs: | ||
checked: ${{ steps.changed-files.outputs.any_modified }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v42 | ||
with: | ||
files: | | ||
packages/config/** | ||
lint: | ||
name: Linting and Typecheck | ||
runs-on: ubuntu-latest | ||
needs: [check] | ||
if: needs.check.outputs.checked == 'true' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
|
||
- name: Install pnpm packages | ||
working-directory: packages/config | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Lint | ||
working-directory: packages/config | ||
run: pnpm lint | ||
|
||
- name: Typecheck | ||
working-directory: packages/config | ||
run: pnpm typecheck |
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,54 @@ | ||
name: config - publish version | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
name: Check | ||
runs-on: ubuntu-latest | ||
outputs: | ||
checked: ${{ steps.changed-files.outputs.any_modified }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v42 | ||
with: | ||
files: | | ||
packages/config/** | ||
publish: | ||
runs-on: ubuntu-latest | ||
needs: [check] | ||
if: needs.check.outputs.checked == 'true' | ||
environment: | ||
name: npm | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install pnpm packages | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Build | ||
run: pnpm run build | ||
working-directory: 'packages/config' | ||
|
||
- name: Publish | ||
run: pnpm publish --access public | ||
working-directory: 'packages/config' | ||
env: | ||
NODE_AUTH_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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: config - test | ||
|
||
on: | ||
pull_request: {} | ||
|
||
jobs: | ||
check: | ||
name: Check if files modified | ||
runs-on: ubuntu-latest | ||
outputs: | ||
checked: ${{ steps.changed-files.outputs.any_modified }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v42 | ||
with: | ||
files: | | ||
packages/config/** | ||
lint: | ||
name: Testing | ||
runs-on: ubuntu-latest | ||
needs: [check] | ||
if: needs.check.outputs.checked == 'true' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
|
||
- name: Install pnpm packages | ||
working-directory: packages/config | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Test | ||
working-directory: packages/config | ||
run: pnpm test |
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,49 @@ | ||
name: create-guider - lint and typecheck | ||
|
||
on: | ||
pull_request: {} | ||
|
||
jobs: | ||
check: | ||
name: Check if files modified | ||
runs-on: ubuntu-latest | ||
outputs: | ||
checked: ${{ steps.changed-files.outputs.any_modified }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v42 | ||
with: | ||
files: | | ||
apps/create-guider/** | ||
lint: | ||
name: Linting and Typecheck | ||
runs-on: ubuntu-latest | ||
needs: [check] | ||
if: needs.check.outputs.checked == 'true' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
|
||
- name: Install pnpm packages | ||
working-directory: apps/create-guider | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Lint | ||
working-directory: apps/create-guider | ||
run: pnpm lint | ||
|
||
- name: Typecheck | ||
working-directory: apps/create-guider | ||
run: pnpm typecheck |
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,49 @@ | ||
name: docs - lint and typecheck | ||
|
||
on: | ||
pull_request: {} | ||
|
||
jobs: | ||
check: | ||
name: Check if files modified | ||
runs-on: ubuntu-latest | ||
outputs: | ||
checked: ${{ steps.changed-files.outputs.any_modified }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v42 | ||
with: | ||
files: | | ||
apps/docs/** | ||
lint: | ||
name: Linting and Typecheck | ||
runs-on: ubuntu-latest | ||
needs: [check] | ||
if: needs.check.outputs.checked == 'true' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
|
||
- name: Install pnpm packages | ||
working-directory: apps/docs | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Lint | ||
working-directory: apps/docs | ||
run: pnpm lint | ||
|
||
- name: Typecheck | ||
working-directory: apps/docs | ||
run: pnpm typecheck |
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,49 @@ | ||
name: guider - lint and typecheck | ||
|
||
on: | ||
pull_request: {} | ||
|
||
jobs: | ||
check: | ||
name: Check if files modified | ||
runs-on: ubuntu-latest | ||
outputs: | ||
checked: ${{ steps.changed-files.outputs.any_modified }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v42 | ||
with: | ||
files: | | ||
packages/guider/** | ||
lint: | ||
name: Linting and Typecheck | ||
runs-on: ubuntu-latest | ||
needs: [check] | ||
if: needs.check.outputs.checked == 'true' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
|
||
- name: Install pnpm packages | ||
working-directory: packages/guider | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Lint | ||
working-directory: packages/guider | ||
run: pnpm lint | ||
|
||
- name: Typecheck | ||
working-directory: packages/guider | ||
run: pnpm typecheck |
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
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.