Skip to content

Commit 4f64cb6

Browse files
authored
dev: add on pull request action
dev: add on pull request action
2 parents e33c29f + b00feb1 commit 4f64cb6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Test Project
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Setup Node.js
13+
uses: actions/setup-node@v2
14+
with:
15+
node-version: '18'
16+
registry-url: 'https://registry.npmjs.org/'
17+
- run: npm install
18+
- run: npm test

0 commit comments

Comments
 (0)