File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 65
65
- name : Linter
66
66
run : npm run lint
67
67
68
+ format :
69
+ runs-on : ubuntu-latest
70
+
71
+ steps :
72
+ - uses : actions/checkout@v3
73
+ - uses : actions/setup-node@v3
74
+ with :
75
+ node-version : ' *'
76
+ check-latest : true
77
+ - run : npm ci
78
+
79
+ # TODO: The cache fails when copied between GHA runners. See:
80
+ # https://github.com/dprint/dprint/issues/734
81
+ # https://github.com/dprint/dprint/issues/735
82
+ # - uses: actions/cache@v3
83
+ # with:
84
+ # path: ~/.cache/dprint
85
+ # key: ${{ runner.os }}-dprint-${{ hashFiles('package-lock.json', '.dprint.jsonc') }}
86
+ # restore-keys: |
87
+ # ${{ runner.os }}-dprint-
88
+
89
+ - name : Check formatting
90
+ run : npx dprint check
91
+
68
92
browser-integration :
69
93
runs-on : ubuntu-latest
70
94
You can’t perform that action at this time.
0 commit comments