Skip to content

Commit 3a04523

Browse files
committed
ci: add workflow to validate action files
Signed-off-by: Ardalan Amini <[email protected]>
1 parent 03d7b4e commit 3a04523

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,32 @@ jobs:
9595
with:
9696
token: ${{ secrets.CODECOV_TOKEN }}
9797

98+
action : # make sure the action files are up to date
99+
name : Action files
100+
101+
runs-on: ubuntu-latest
102+
103+
steps :
104+
- uses: actions/checkout@v4
105+
106+
- name: Use PNPM ${{ env.PNPM_VERSION }}
107+
uses: pnpm/action-setup@v4
108+
with:
109+
version: ${{ env.PNPM_VERSION }}
110+
111+
- name: Use Node.js ${{ env.NODE_VERSION }}
112+
uses: actions/setup-node@v4
113+
with:
114+
cache : pnpm
115+
node-version: ${{ env.NODE_VERSION }}
116+
117+
- name: Install dependencies
118+
run : pnpm i
119+
120+
- uses: nickcharlton/[email protected]
121+
with:
122+
command: pnpm build
123+
98124
live-test : # make sure the action works on a clean machine without building
99125
name : Live Test
100126

0 commit comments

Comments
 (0)