|
4 | 4 | push:
|
5 | 5 | branches: [main]
|
6 | 6 | pull_request:
|
7 |
| - types: [opened, synchronize, reopened] |
| 7 | + types: |
| 8 | + - opened |
| 9 | + - reopened |
| 10 | + - synchronize |
8 | 11 |
|
9 | 12 | # Enabled permissions on GITHUB_TOKEN
|
10 |
| -permissions: |
11 |
| - # To be able to push to the repo |
12 |
| - contents: write |
13 |
| - # To update the pr description with canary info |
14 |
| - pull-requests: write |
15 |
| - # For pr-check to create a status |
16 |
| - statuses: write |
17 |
| - # Needed to create PR statuses/checks |
18 |
| - checks: write |
19 |
| - # To post comments on PRs |
20 |
| - issues: write |
| 13 | +# permissions: |
| 14 | +# # To be able to push to the repo |
| 15 | +# contents: write |
| 16 | +# # To update the pr description with canary info |
| 17 | +# pull-requests: write |
| 18 | +# # For pr-check to create a status |
| 19 | +# statuses: write |
| 20 | +# # Needed to create PR statuses/checks |
| 21 | +# checks: write |
| 22 | +# # To post comments on PRs |
| 23 | +# issues: write |
21 | 24 |
|
22 | 25 | jobs:
|
23 | 26 | # Run install in one step so deps can be cached for other steps
|
24 | 27 | install:
|
25 | 28 | runs-on: ubuntu-latest
|
26 | 29 | steps:
|
27 | 30 | - uses: actions/checkout@v3
|
28 |
| - - uses: ./.github/actions/install-deps |
| 31 | + # - uses: ./.github/actions/install-deps |
29 | 32 |
|
30 |
| - build: |
31 |
| - runs-on: ubuntu-latest |
32 |
| - needs: install |
33 |
| - steps: |
34 |
| - - uses: actions/checkout@v3 |
35 |
| - - uses: ./.github/actions/install-deps |
36 |
| - - uses: ./.github/actions/build-cache |
37 |
| - - run: yarn build |
| 33 | + # build: |
| 34 | + # runs-on: ubuntu-latest |
| 35 | + # needs: install |
| 36 | + # steps: |
| 37 | + # - uses: actions/checkout@v3 |
| 38 | + # - uses: ./.github/actions/install-deps |
| 39 | + # - uses: ./.github/actions/build-cache |
| 40 | + # - run: yarn build |
38 | 41 |
|
39 |
| - lint: |
40 |
| - runs-on: ubuntu-latest |
41 |
| - needs: build |
42 |
| - steps: |
43 |
| - - uses: actions/checkout@v3 |
44 |
| - - uses: ./.github/actions/install-deps |
45 |
| - - uses: ./.github/actions/build-cache |
46 |
| - - run: yarn lint |
| 42 | + # lint: |
| 43 | + # runs-on: ubuntu-latest |
| 44 | + # needs: build |
| 45 | + # steps: |
| 46 | + # - uses: actions/checkout@v3 |
| 47 | + # - uses: ./.github/actions/install-deps |
| 48 | + # - uses: ./.github/actions/build-cache |
| 49 | + # - run: yarn lint |
47 | 50 |
|
48 |
| - test-types: |
49 |
| - runs-on: ubuntu-latest |
50 |
| - needs: build |
51 |
| - steps: |
52 |
| - - uses: actions/checkout@v3 |
53 |
| - - uses: ./.github/actions/install-deps |
54 |
| - - uses: ./.github/actions/build-cache |
55 |
| - - run: yarn tsTest:custom && yarn tsTest:main |
| 51 | + # test-types: |
| 52 | + # runs-on: ubuntu-latest |
| 53 | + # needs: build |
| 54 | + # steps: |
| 55 | + # - uses: actions/checkout@v3 |
| 56 | + # - uses: ./.github/actions/install-deps |
| 57 | + # - uses: ./.github/actions/build-cache |
| 58 | + # - run: yarn tsTest:custom && yarn tsTest:main |
56 | 59 |
|
57 |
| - test: |
58 |
| - runs-on: ubuntu-latest |
59 |
| - needs: build |
60 |
| - steps: |
61 |
| - - uses: actions/checkout@v3 |
62 |
| - - uses: ./.github/actions/install-deps |
63 |
| - - uses: ./.github/actions/build-cache |
64 |
| - - run: yarn test |
| 60 | + # test: |
| 61 | + # runs-on: ubuntu-latest |
| 62 | + # needs: build |
| 63 | + # steps: |
| 64 | + # - uses: actions/checkout@v3 |
| 65 | + # - uses: ./.github/actions/install-deps |
| 66 | + # - uses: ./.github/actions/build-cache |
| 67 | + # - run: yarn test |
65 | 68 |
|
66 |
| - test-browser: |
67 |
| - runs-on: ubuntu-latest |
68 |
| - needs: build |
69 |
| - if: ${{ false }} # disable for now |
70 |
| - steps: |
71 |
| - - uses: actions/checkout@v3 |
72 |
| - - uses: ./.github/actions/install-deps |
73 |
| - - uses: ./.github/actions/build-cache |
74 |
| - - run: yarn test:browser --ci |
| 69 | + # test-browser: |
| 70 | + # runs-on: ubuntu-latest |
| 71 | + # needs: build |
| 72 | + # if: ${{ false }} # disable for now |
| 73 | + # steps: |
| 74 | + # - uses: actions/checkout@v3 |
| 75 | + # - uses: ./.github/actions/install-deps |
| 76 | + # - uses: ./.github/actions/build-cache |
| 77 | + # - run: yarn test:browser --ci |
75 | 78 |
|
76 |
| - release: |
77 |
| - runs-on: ubuntu-latest |
78 |
| - if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" |
79 |
| - needs: build |
80 |
| - steps: |
81 |
| - - uses: actions/checkout@v3 |
82 |
| - - uses: 8BitJonny/[email protected] |
83 |
| - id: PR |
84 |
| - - uses: ./.github/actions/install-deps |
85 |
| - - uses: ./.github/actions/build-cache |
86 |
| - - name: Prepare repository |
87 |
| - run: git fetch --unshallow --tags |
88 |
| - - name: Create Release |
89 |
| - run: yarn auto shipit |
90 |
| - env: |
91 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
92 |
| - PROTECTED_BRANCH_REVIEWER_TOKEN: ${{ secrets.GH_TOKEN }} |
93 |
| - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
94 |
| - PR: ${{ steps.PR.outputs.number }} |
| 79 | + # release: |
| 80 | + # runs-on: ubuntu-latest |
| 81 | + # if: contains(github.event.head_commit.message , 'ci skip') == false && contains(github.event.head_commit.message , 'skip ci') == false |
| 82 | + # needs: build |
| 83 | + # steps: |
| 84 | + # - uses: actions/checkout@v3 |
| 85 | + # - uses: 8BitJonny/[email protected] |
| 86 | + # id: PR |
| 87 | + # - uses: ./.github/actions/install-deps |
| 88 | + # - uses: ./.github/actions/build-cache |
| 89 | + # - name: Prepare repository |
| 90 | + # run: git fetch --unshallow --tags |
| 91 | + # - name: Create Release |
| 92 | + # run: yarn auto shipit |
| 93 | + # env: |
| 94 | + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 95 | + # PROTECTED_BRANCH_REVIEWER_TOKEN: ${{ secrets.GH_TOKEN }} |
| 96 | + # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 97 | + # PR: ${{ steps.PR.outputs.number }} |
0 commit comments