generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 14
52 lines (46 loc) · 1.38 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Tests
on: # Rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
INPUT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
name: "🛠 test npm build"
- run: |
npm install
- run: |
npm run all
##############################################################################
# Integration tests temporarily disabled while token access issue is diagnosed
##############################################################################
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: ./
# name: "🚀 test github user workflow"
# with:
# path: ./
# token: ${{ secrets.ACCESS_TOKEN }}
# ref: ${{ github.event.pull_request.head.sha }}
# repo: tremor-runtime
# owner: tremor-rs
# user: lelia
# - uses: ./
# name: "🌎 test github org workflow"
# with:
# path: ./
# token: ${{ secrets.ACCESS_TOKEN }}
# ref: ${{ github.event.pull_request.head.sha }}
# licenseAllowlist: "0bsd\napache-2.0\nmit"
# repo: roadie-backstage-plugins
# owner: RoadieHQ
# org: wayfair-contribs
# user: lelia
# addUser: true