generated from escapace/typescript-library-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 989 Bytes
/
ci.yaml
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
name: ci
on:
pull_request:
branches:
- trunk
paths-ignore:
- README.md
- LICENSE
push:
branches:
- trunk
paths-ignore:
- README.md
- LICENSE
permissions:
contents: read
packages: read
env:
# 7 GiB by default on GitHub, setting to 6 GiB
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
NODE_OPTIONS: --max-old-space-size=6144
jobs:
context:
uses: escapace/workflows/.github/workflows/context.yaml@trunk
ci:
needs:
- context
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: escapace/workflows/.github/workflows/ci-typescript.yaml@trunk
with:
enable-codecov: true
node-version: ${{ needs.context.outputs.node-version }}
pnpm-version: ${{ needs.context.outputs.pnpm-version }}
ref: ${{ needs.context.outputs.ref }}
version: ${{ needs.context.outputs.version }}