Skip to content

Commit b29de4b

Browse files
authored
use yarn to test instead of npm
1 parent 82d479f commit b29de4b

File tree

2 files changed

+22
-31
lines changed

2 files changed

+22
-31
lines changed

.github/workflows/node.js.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/yarn.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
on: [push]
3+
4+
jobs:
5+
build:
6+
name: Test
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/[email protected]
10+
- name: Set Node.js 22.x
11+
uses: actions/setup-node@v3
12+
with:
13+
node-version: 22.x
14+
15+
- name: Run install
16+
uses: borales/actions-yarn@v5
17+
with:
18+
cmd: install # will run `yarn install` command
19+
- name: Test the app
20+
uses: borales/actions-yarn@v5
21+
with:
22+
cmd: test # will run `yarn test` command

0 commit comments

Comments
 (0)