Skip to content

Commit

Permalink
fix: workflow yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyef committed Oct 18, 2019
1 parent f72d295 commit dc7b269
Show file tree
Hide file tree
Showing 4 changed files with 536 additions and 4,025 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: "Test typescript-action"

on:
pull_request: [syncronize, created]
pull_request:
types: [synchronize, opened]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

# install based on package-lock.json file
- run: npm ci
# build the /lib so we can test it on our own repo
- run: npm run build

# run our own action
- uses: ./
with:
build-script: npm run build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ __tests__/runner/*
# comment out in distribution branches
node_modules/

lib/

# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Logs
logs
Expand Down

0 comments on commit dc7b269

Please sign in to comment.