summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: 5f5a92877a22d45b7bacfe223e55e268212ac5b2 (about) (plain)
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
---
# File : ci.yml

name: 'ci'
on:
  push:
    branches-ignore:
      -[main]
defaults:
  run:
    shell: 'bash'
jobs:
  lint-test-build:
    name: '[ci|lint-test-build]'
    runs-on: 'ubuntu-18.04'
    steps:
      - name: '[checkout] ${{ github.repository }} project'
        uses: 'actions/checkout@v2'
        with:
          repository: '${{ github.repository }}'
      - name: '[lint]'
        run: |
          echo TBA some linting
      - name: '[test]'
        run: |
          echo TBA some testing
      - name: '[build]'
        run: |
          git config --global url."https://github.com/".insteadOf ssh://[email protected]/
          git config --global url."https://".insteadOf git://
          git config --global url."https://".insteadOf ssh://
          yarn
          yarn build
...
# End of ci.yml