-
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.
- Loading branch information
1 parent
6dce7be
commit 41f86c7
Showing
4 changed files
with
28 additions
and
14 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,5 @@ | ||
--- | ||
"fastify-moleculer": patch | ||
--- | ||
|
||
Publish first version on NPM Registry |
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 |
---|---|---|
|
@@ -8,6 +8,11 @@ on: | |
permissions: | ||
contents: read | ||
|
||
env: | ||
GH_TOKEN: ${{ secrets.DUCKTORS_PAT }} | ||
GITHUB_TOKEN: ${{ secrets.DUCKTORS_PAT }} | ||
NPM_TOKEN: ${{ secrets.MAGIO_NPM_TOKEN }} | ||
|
||
jobs: | ||
release: | ||
name: Changesets | ||
|
@@ -19,24 +24,28 @@ jobs: | |
with: | ||
egress-policy: audit | ||
|
||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
name: Checkout | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | ||
with: | ||
node-version: 20 | ||
node-version: 22 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | ||
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | ||
with: | ||
version: 9.12.1 | ||
version: 9.12.1 # [email protected] | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 | ||
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | ||
name: Setup pnpm cache | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
|
@@ -51,7 +60,7 @@ jobs: | |
run: pnpm build | ||
|
||
- name: Create Release Pull Request | ||
uses: changesets/action@c8bada60c408975afd1a20b3db81d6eee6789308 # v1.4.9 | ||
uses: changesets/action@3de3850952bec538fde60aac71731376e57b9b57 # v1.4.8 | ||
with: | ||
publish: pnpm release | ||
createGithubReleases: true | ||
|
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
name: Build | ||
strategy: | ||
matrix: | ||
node-version: [18.x, 20.x, 22.x] | ||
node-version: [20.x, 22.x] | ||
# os: [ubuntu-latest, windows-latest, macos-latest] | ||
os: [ubuntu-latest, macos-latest] | ||
steps: | ||
|
@@ -37,7 +37,7 @@ jobs: | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | ||
name: Install pnpm | ||
with: | ||
version: 9.12.1 | ||
version: 9.12.1 # [email protected] | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
|
@@ -79,7 +79,7 @@ jobs: | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | ||
name: Install pnpm | ||
with: | ||
version: 9.12.1 | ||
version: 9.12.1 # [email protected] | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
|
@@ -99,4 +99,4 @@ jobs: | |
run: pnpm install --frozen-lockfile | ||
|
||
- name: Lint code | ||
run: pnpm lint | ||
run: pnpm lint |
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
name: Coverage | ||
strategy: | ||
matrix: | ||
node-version: [18.x, 20.x, 22.x] | ||
node-version: [20.x, 22.x] | ||
# os: [ubuntu-latest, windows-latest, macos-latest] | ||
os: [ubuntu-latest, macos-latest] | ||
steps: | ||
|
@@ -38,7 +38,7 @@ jobs: | |
|
||
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | ||
with: | ||
version: 9.12.1 | ||
version: 9.12.1 # [email protected] | ||
|
||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
|
@@ -72,4 +72,4 @@ jobs: | |
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TEST_REPORTER_ID }} | ||
with: | ||
coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov | ||
coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov |