Skip to content

Commit 9c5c2c3

Browse files
committed
fix(release): allow downloading binary via proxy again
1 parent 96b5dd2 commit 9c5c2c3

8 files changed

Lines changed: 5409 additions & 2634 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
cache: 'npm'
1919

2020
- run: npm ci
21-
- run: npm start
21+
- run: npm run build
2222
- run: npm run lint:commit -- --to "${{ github.sha }}"
2323
- run: npm run lint:eslint
2424
- run: npm run test
25+
- run: npm run start

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- run: 'npm ci'
2727

28-
- run: 'npm run start'
28+
- run: 'npm run build'
2929

3030
- name: 'Verify the integrity of provenance attestations and registry signatures for installed dependencies'
3131
run: 'npm audit signatures'

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ Otherwise you could clone the repository and execute the script manually.
3838
git clone https://github.com/editorconfig-checker/editorconfig-checker.javascript
3939
cd editorconfig-checker.javascript
4040
npm install
41-
npm start
41+
npm run build
4242
npm test
43+
npm start
4344
```
4445

4546
## Usage

jest.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} */
2+
module.exports = {
3+
preset: 'ts-jest',
4+
testEnvironment: 'node',
5+
};

0 commit comments

Comments
 (0)