Skip to content

Commit eb31d76

Browse files
committed
add workflow for PRs
1 parent ff46320 commit eb31d76

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Releases
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: "12.x"
16+
- run: yarn install --frozen-lockfile
17+
- run: yarn test
18+
- run: yarn build

0 commit comments

Comments
 (0)