Skip to content

Commit f95f17a

Browse files
authored
Create a test job on github actions (#20)
* Create a test job on github actions * Update create-pr.js.yml
1 parent 82ec5bb commit f95f17a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/create-pr.js.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Create a pull request for QA
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Use Node.js
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: 16.x
17+
cache: 'npm'
18+
19+
- run: npm ci
20+
- run: npm run build --if-present
21+
- name: Create a release pull request
22+
env:
23+
GITHUB_PR_RELEASE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
25+
run: |
26+
./cli/index.js uiur/github-pr-release

0 commit comments

Comments
 (0)