Skip to content

Commit

Permalink
Merge to v4 2025 01 07 1 (#81)
Browse files Browse the repository at this point in the history
* merge v4-beta to v4
  • Loading branch information
mike-ainsel authored Jan 7, 2025
1 parent 12b191b commit 3ffbc2f
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions .github/workflows/node-simple-pnpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: context
uses: milaboratory/github-ci/actions/context@v4-beta
uses: milaboratory/github-ci/actions/context@v4
outputs:
is-release: ${{ steps.context.outputs.is-release }}
current-version: ${{ steps.context.outputs.current-version }}
Expand All @@ -408,7 +408,7 @@ jobs:
submodules: ${{ inputs.checkout-submodules }}

- id: npm-pkg-metadata
uses: milaboratory/github-ci/actions/shell@v4-beta
uses: milaboratory/github-ci/actions/shell@v4
env:
PACKAGE_PATH: ${{ inputs.package-path }}
with:
Expand All @@ -429,9 +429,9 @@ jobs:
- metadata
steps:
- id: context
uses: milaboratory/github-ci/actions/context@v4-beta
uses: milaboratory/github-ci/actions/context@v4

- uses: milaboratory/github-ci/actions/env@v4-beta
- uses: milaboratory/github-ci/actions/env@v4
with:
inputs: ${{ inputs.env }}
secrets: ${{ secrets.env }}
Expand All @@ -442,7 +442,7 @@ jobs:
fetch-depth: '0'

- name: Prepare environment for building a NodeJS application
uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta
uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4
env:
PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }}
with:
Expand All @@ -453,13 +453,13 @@ jobs:
npmrc-config: ${{ inputs.npmrc-config }}

- name: Install NodeJS packages with pnpm
uses: milaboratory/github-ci/actions/shell@v4-beta
uses: milaboratory/github-ci/actions/shell@v4
with:
run: |
pnpm install --frozen-lockfile --prefer-offline
- name: Check for Changesets
uses: milaboratory/github-ci/actions/shell@v4-beta
uses: milaboratory/github-ci/actions/shell@v4
env:
BRANCH_NAME: ${{ inputs.changeset-default-branch }}
with:
Expand All @@ -481,7 +481,7 @@ jobs:
id-token: write
contents: read
steps:
- uses: milaboratory/github-ci/actions/env@v4-beta
- uses: milaboratory/github-ci/actions/env@v4
with:
inputs: ${{ inputs.env }}
secrets: ${{ secrets.env }}
Expand Down Expand Up @@ -516,7 +516,7 @@ jobs:
team-id: ${{ inputs.team-id }}

- name: Prepare environment for building a NodeJS application
uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta
uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4
env:
PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }}
with:
Expand All @@ -527,7 +527,7 @@ jobs:
npmrc-config: ${{ inputs.npmrc-config }}

- name: Install NodeJS packages with pnpm
uses: milaboratory/github-ci/actions/shell@v4-beta
uses: milaboratory/github-ci/actions/shell@v4
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }}
Expand All @@ -537,7 +537,7 @@ jobs:
pnpm install --frozen-lockfile --prefer-offline
- name: Run build for - ${{ matrix.step }}
uses: milaboratory/github-ci/actions/shell@v4-beta
uses: milaboratory/github-ci/actions/shell@v4
env:
PRE_CALCULATED_STEP: ${{ matrix.step }}
with:
Expand All @@ -562,17 +562,16 @@ jobs:
)
permissions:
id-token: write

packages: write
contents: write
pull-requests: write
issues: read

steps:
- id: context
uses: milaboratory/github-ci/actions/context@v4-beta
uses: milaboratory/github-ci/actions/context@v4

- uses: milaboratory/github-ci/actions/env@v4-beta
- uses: milaboratory/github-ci/actions/env@v4
with:
inputs: ${{ inputs.env }}
secrets: ${{ secrets.env }}
Expand Down Expand Up @@ -609,14 +608,14 @@ jobs:

- name: Prepare environment for Golang when requested
if: inputs.golang-version != ''
uses: milaboratory/github-ci/actions/golang/prepare@v4-beta
uses: milaboratory/github-ci/actions/golang/prepare@v4
with:
golang-version: ${{ inputs.golang-version }}
cache-version: ${{ inputs.cache-version }}
cache-dependency-hashfiles-path: ${{ inputs.golang-cache-hashfiles-path }}

- name: Prepare environment for building a NodeJS application
uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4-beta
uses: milaboratory/github-ci/actions/node/prepare-pnpm@v4
env:
PNPM_VERSION: ${{ needs.metadata.outputs.pnpm-version }}
with:
Expand All @@ -627,7 +626,7 @@ jobs:
npmrc-config: ${{ inputs.npmrc-config }}

- name: Install NodeJS packages with pnpm
uses: milaboratory/github-ci/actions/shell@v4-beta
uses: milaboratory/github-ci/actions/shell@v4
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }}
Expand Down Expand Up @@ -671,7 +670,7 @@ jobs:
fi
- name: Run build
uses: milaboratory/github-ci/blocks/node/build-and-test-pnpm@v4-beta
uses: milaboratory/github-ci/blocks/node/build-and-test-pnpm@v4
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPMJS_TOKEN: ${{ env.NPMJS_TOKEN }}
Expand All @@ -692,7 +691,7 @@ jobs:

- name: Run tests
id: test
uses: milaboratory/github-ci/blocks/pl/linux/test-pl-docker-pnpm@v4-beta
uses: milaboratory/github-ci/blocks/pl/linux/test-pl-docker-pnpm@v4
if: inputs.test
env:
PL_ADDRESS: "http://127.0.0.1:6345"
Expand Down Expand Up @@ -728,7 +727,7 @@ jobs:
run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"

- name: Commit changed files to main
uses: milaboratory/github-ci/actions/shell@v4-beta
uses: milaboratory/github-ci/actions/shell@v4
if: steps.check-changes.outputs.has-changes == '1'
env:
USER_ID: ${{ steps.get-user-id.outputs.user-id }}
Expand Down Expand Up @@ -770,7 +769,7 @@ jobs:
if: github.ref_name == 'main'
&& steps.check-changes.outputs.has-changes == '0'
&& inputs.create-tag == 'true'
uses: milaboratory/github-ci/actions/release/create-with-tag@v4-beta
uses: milaboratory/github-ci/actions/release/create-with-tag@v4
env:
NPM_PKG_VERSION: ${{ needs.metadata.outputs.npm-pkg-version }}
with:
Expand Down Expand Up @@ -799,12 +798,12 @@ jobs:
steps:
- id: search-tags
if: always()
uses: milaboratory/github-ci/actions/strings/json-list@v4-beta
uses: milaboratory/github-ci/actions/strings/json-list@v4
with:
input: |
release
- uses: milaboratory/github-ci/blocks/notify/release@v4-beta
- uses: milaboratory/github-ci/blocks/notify/release@v4
env:
NPM_PKG_VERSION: ${{ needs.metadata.outputs.npm-pkg-version }}
with:
Expand Down

0 comments on commit 3ffbc2f

Please sign in to comment.