[READ-ONLY] Mirror of https://github.com/danielroe/siroc. Zero-config build tooling for Node
bundle node package rollup typescript
0

Configure Feed

Select the types of activity you want to include in your feed.

ci: add github workflows

Daniel Roe (Jun 7, 2020, 10:16 PM +0100) b973a499 e036a9f0

+139
+26
.github/ISSUE_TEMPLATE/---bug-report.md
··· 1 + --- 2 + name: "\U0001F41B Bug report" 3 + about: Something's not working 4 + title: 'fix: ' 5 + labels: bug 6 + assignees: danielroe 7 + --- 8 + 9 + **🐛 The bug** 10 + What isn't working? Describe what the bug is. 11 + 12 + **🛠️ To reproduce** 13 + Steps to reproduce the behavior: 14 + 15 + 1. Go to '...' 16 + 2. Click on '....' 17 + 3. Scroll down to '....' 18 + 4. See error 19 + 20 + I'd be very grateful for a link to a gist or repo that reproduces the bug. 21 + 22 + **🌈 Expected behaviour** 23 + What did you expect to happen? Is there a section in the docs about this? 24 + 25 + **ℹ️ Additional context** 26 + Add any other context about the problem here.
+17
.github/ISSUE_TEMPLATE/---documentation.md
··· 1 + --- 2 + name: "\U0001F4DA Documentation" 3 + about: How do I ... ? 4 + title: 'docs: ' 5 + labels: documentation 6 + assignees: danielroe 7 + 8 + --- 9 + 10 + **📚 Is your documentation request related to a problem? Please describe.** 11 + A clear and concise description of what the problem is. Ex. I feel I should be able to [...] but I can't see how to do it from the docs. 12 + 13 + **🔍 Where should you find it?** 14 + What page of the docs do you expect this information to be found on? 15 + 16 + **ℹ️ Additional context** 17 + Add any other context or information.
+21
.github/ISSUE_TEMPLATE/---feature-suggestion.md
··· 1 + --- 2 + name: "\U0001F195 Feature suggestion" 3 + about: Suggest an idea 4 + title: 'feat: ' 5 + labels: enhancement 6 + assignees: danielroe 7 + 8 + --- 9 + 10 + **🆒 Your use case** 11 + Add a description of your use case, and how this feature would help you. 12 + > Ex. When I do [...] I would expect to be able to do [...] 13 + 14 + **🆕 The solution you'd like** 15 + Describe what you want to happen. 16 + 17 + **🔍 Alternatives you've considered** 18 + Have you considered any alternative solutions or features? 19 + 20 + **ℹ️ Additional info** 21 + Is there any other context you think would be helpful to know?
+16
.github/ISSUE_TEMPLATE/---help-wanted.md
··· 1 + --- 2 + name: "\U0001F198 Help" 3 + about: I need help with ... 4 + title: 'help: ' 5 + labels: help 6 + assignees: danielroe 7 + --- 8 + 9 + **📚 What are you trying to do? Please describe.** 10 + A clear and concise description of your objective. Ex. I'm not sure how to [...]. 11 + 12 + **🔍 What have you tried?** 13 + Have you looked through the docs? Tried different approaches? The more detail the better. 14 + 15 + **ℹ️ Additional context** 16 + Add any other context or information.
+59
.github/workflows/ci.yml
··· 1 + name: ci 2 + 3 + on: 4 + - push 5 + - pull_request 6 + 7 + jobs: 8 + lint: 9 + runs-on: ubuntu-latest 10 + 11 + steps: 12 + - uses: actions/checkout@v1 13 + 14 + - uses: actions/cache@v1 15 + id: cache 16 + with: 17 + path: "node_modules" 18 + key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} 19 + 20 + - name: Install dependencies 21 + if: steps.cache.outputs.cache-hit != 'true' 22 + run: yarn 23 + 24 + - name: Lint project 25 + run: yarn lint 26 + 27 + test: 28 + runs-on: ubuntu-latest 29 + strategy: 30 + matrix: 31 + node: [10, 12, 14] 32 + 33 + steps: 34 + - uses: actions/setup-node@v1 35 + with: 36 + node-version: ${{ matrix.node }} 37 + 38 + - uses: actions/checkout@v1 39 + 40 + - uses: actions/cache@v1 41 + id: cache 42 + with: 43 + path: "node_modules" 44 + key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('yarn.lock') }} 45 + 46 + - name: Install dependencies 47 + if: steps.cache.outputs.cache-hit != 'true' 48 + run: yarn 49 + 50 + - name: Build project 51 + run: yarn build 52 + 53 + - name: Test project 54 + run: yarn test 55 + 56 + - name: Coverage 57 + run: yarn codecov 58 + env: 59 + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}