@toptal/davinci-skeleton 4.0.3-alpha-gha-create-command-tool-typecheck.21 → 4.0.3-alpha-gha-create-command-tool-typecheck.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# This file defines individuals or teams that are responsible for code.
|
|
2
|
+
#
|
|
3
|
+
# https://github.com/blog/2392-introducing-code-owners
|
|
4
|
+
# https://help.github.com/articles/about-codeowners/
|
|
5
|
+
#
|
|
6
|
+
# Lines starting with '#' are comments.
|
|
7
|
+
# Each line is a file pattern followed by one or more owners.
|
|
8
|
+
|
|
9
|
+
# These owners will be the default owners for everything in the repo.
|
|
10
|
+
* @toptal/%team name%
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[PN-NNNN]
|
|
2
|
+
|
|
3
|
+
### Description
|
|
4
|
+
|
|
5
|
+
Describe the changes and motivations for the pull request, unless evident from the title.
|
|
6
|
+
|
|
7
|
+
### How to test
|
|
8
|
+
|
|
9
|
+
- FIXME: Add the steps describing how to verify your changes
|
|
10
|
+
|
|
11
|
+
### Screenshots
|
|
12
|
+
|
|
13
|
+
| Before. | After. |
|
|
14
|
+
| --------------------------------------- | --------------------------------------- |
|
|
15
|
+
| Insert screenshots or screen recordings | Insert screenshots or screen recordings |
|
|
16
|
+
|
|
17
|
+
### Review
|
|
18
|
+
|
|
19
|
+
- [ ] Ensure that deployed demo has expected results and good examples
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
name: Typecheck
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [opened, synchronize, reopened, edited]
|
|
6
|
+
branches: [master]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
typecheck:
|
|
10
|
+
name: Check:Typecheck
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
env:
|
|
13
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN_READ_ONLY }}
|
|
14
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout
|
|
17
|
+
uses: actions/checkout@v2
|
|
18
|
+
|
|
19
|
+
- name: Setup node
|
|
20
|
+
uses: actions/setup-node@v2
|
|
21
|
+
with:
|
|
22
|
+
node-version: '14.17'
|
|
23
|
+
|
|
24
|
+
- name: Check node modules cache
|
|
25
|
+
uses: actions/cache@v2
|
|
26
|
+
id: node-modules-cache
|
|
27
|
+
with:``````
|
|
28
|
+
path: '**/node_modules'
|
|
29
|
+
key: ${{ runner.os }}-typecheck-node_modules-${{ github.event.pull_request.head.sha }}
|
|
30
|
+
|
|
31
|
+
- name: Get yarn cache directory path
|
|
32
|
+
if: ${{ steps.node-modules-cache.outputs.cache-hit != 'true' }}
|
|
33
|
+
id: yarn-cache-dir-path
|
|
34
|
+
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
35
|
+
|
|
36
|
+
- name: Check yarn cache
|
|
37
|
+
if: ${{ steps.node-modules-cache.outputs.cache-hit != 'true' }}
|
|
38
|
+
uses: actions/cache@v2
|
|
39
|
+
with:
|
|
40
|
+
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
|
41
|
+
key: node-cache-${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
42
|
+
restore-keys: |
|
|
43
|
+
node-cache-${{ runner.os }}-yarn-
|
|
44
|
+
|
|
45
|
+
- name: Install dependencies
|
|
46
|
+
run: |
|
|
47
|
+
yarn policies set-version
|
|
48
|
+
yarn install --frozen-lockfile --ignore-optional --silent --non-interactive
|
|
49
|
+
|
|
50
|
+
- name: Run typescript checks
|
|
51
|
+
run: yarn typecheck
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-skeleton",
|
|
3
|
-
"version": "4.0.3-alpha-gha-create-command-tool-typecheck.
|
|
3
|
+
"version": "4.0.3-alpha-gha-create-command-tool-typecheck.22+19b0dbbe",
|
|
4
4
|
"description": "Toptal frontend application created with Davinci CLI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"homepage": "https://github.com/toptal/davinci/tree/master/packages/bootstrap#readme",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@toptal/browserslist-config": "1.2.1-alpha-gha-create-command-tool-typecheck.
|
|
12
|
+
"@toptal/browserslist-config": "1.2.1-alpha-gha-create-command-tool-typecheck.129+19b0dbbe",
|
|
13
13
|
"@types/jest": "^27.0.3",
|
|
14
14
|
"@types/react": "^17.0.38",
|
|
15
15
|
"@types/react-dom": "^16.8.4",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": false,
|
|
54
54
|
"main": "./src/index.tsx",
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "19b0dbbe8aa3d0a9c9b4958ed37473cfc135a685"
|
|
56
56
|
}
|