mirror of
https://github.com/mshick/add-pr-comment.git
synced 2025-12-31 14:20:32 +11:00
feat: do not test user.login by default (#15)
* feat: do not test user.login by default * ci: define user login in integration test * ci: define dogfood test separately * build: new dist build
This commit is contained in:
parent
150a3ccfe9
commit
f533dc4046
7 changed files with 91 additions and 49 deletions
21
.github/workflows/integration.yml
vendored
21
.github/workflows/integration.yml
vendored
|
|
@ -32,9 +32,30 @@ jobs:
|
|||
run: |
|
||||
npm test
|
||||
|
||||
dogfood:
|
||||
name: Dogfood
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "12.x"
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
npm ci
|
||||
|
||||
- name: Build action
|
||||
run: |
|
||||
npm run build
|
||||
|
||||
- name: Add Comment
|
||||
uses: ./
|
||||
with:
|
||||
message: |
|
||||
**It works!**
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
repo-token-user-login: "github-actions[bot]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue