-
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: Align @observerly/fits workspace packages with standard.
chore: Align @observerly/fits workspace packages with standard.
- Loading branch information
1 parent
03a4734
commit e531a1a
Showing
32 changed files
with
2,013 additions
and
4,593 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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
name: fits/publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
release: | ||
types: [published] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ci: | ||
|
@@ -12,7 +14,11 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [17] | ||
node: [18] | ||
|
||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- name: Checkout 🛎 | ||
|
@@ -35,11 +41,14 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Install pnpm globally | ||
run: npm install -g [email protected] | ||
|
||
- name: Install project dependencies 👨🏻💻 | ||
run: npm ci | ||
run: pnpm install | ||
|
||
- name: Build the package ready for publishing | ||
run: npm run build | ||
run: pnpm run build | ||
|
||
- uses: JS-DevTools/npm-publish@v1 | ||
with: | ||
|
@@ -49,4 +58,4 @@ jobs: | |
|
||
- if: steps.publish.outputs.type != 'none' | ||
run: | | ||
echo "@observerly/polaris package version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}" | ||
echo "@observerly/fits package version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}" |
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,6 +1,9 @@ | ||
name: fits/vitest | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
@@ -12,7 +15,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [16, 17] | ||
node: [18, 19] | ||
|
||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -39,8 +42,14 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Install pnpm globally | ||
run: npm install -g [email protected] | ||
|
||
- name: Install project dependencies 👨🏻💻 | ||
run: npm ci | ||
run: pnpm install | ||
|
||
- name: Build the package ready for publishing | ||
run: pnpm run build | ||
|
||
- name: Run vitest tests 🧪 | ||
run: npm run test | ||
run: pnpm run 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# /*****************************************************************************************************************/ | ||
|
||
#// @author Michael Roberts <[email protected]> | ||
#// @package @observerly/fits | ||
#// @license Copyright © 2021-2023 observerly | ||
|
||
#/*****************************************************************************************************************/ | ||
|
||
node-version=18.14.0 | ||
engine-strict=true | ||
|
||
#/*****************************************************************************************************************/ | ||
|
||
registry=https://registry.npmjs.org/ | ||
@observerly:registry=https://npm.pkg.github.com | ||
//npm.pkg.github.com/:_authToken=${NPM_TOKEN} | ||
|
||
#/*****************************************************************************************************************/ |
Oops, something went wrong.