Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: install action

runs:
using: composite
steps:
- name: Checkout the repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
fetch-depth: 0

- name: Setup Node and pnpm
uses: jdx/mise-action@v2

- name: Install dependencies
run: |
pnpm install --frozen-lockfile --strict-peer-dependencies --filter=ccip-js --filter=ccip-react-components
shell: bash
34 changes: 5 additions & 29 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,9 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node 20.x
uses: actions/setup-node@v3
with:
node-version: 20.19
always-auth: true

- name: Install PNPM
run: npm install -g pnpm@9.4.0
shell: bash

- name: Install dependencies
run: |
pnpm install --frozen-lockfile --strict-peer-dependencies --filter=ccip-js --filter=ccip-react-components
shell: bash

- name: Setup and Install dependencies
uses: ./.github/actions/install

- name: Publish ccip-js to NPM
run: |
pnpm build-ccip-js
Expand Down Expand Up @@ -63,20 +51,8 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node 20.x
uses: actions/setup-node@v3
with:
node-version: 20.19
always-auth: true

- name: Install PNPM
run: npm install -g pnpm@9.4.0
shell: bash

- name: Install dependencies
run: |
pnpm install --frozen-lockfile --strict-peer-dependencies --filter=ccip-js --filter=ccip-react-components
shell: bash
- name: Setup and Install dependencies
uses: ./.github/actions/install

- name: Dry-run publish ccip-js
run: |
Expand Down
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node 20.19
pnpm 9.4.0