Skip to content

Commit 23f2a00

Browse files
Merge pull request #66 from privatenumber/develop
2 parents a1426ba + 4638e18 commit 23f2a00

23 files changed

+870
-536
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
release:
99
name: Release
1010
runs-on: ubuntu-latest
11-
11+
timeout-minutes: 10
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v2
@@ -20,6 +20,8 @@ jobs:
2020
run: npm ci
2121
- name: Test
2222
run: npm run test --if-present
23+
- name: Build
24+
run: npm run build --if-present
2325
- name: Release
2426
env:
2527
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
name: Test
2-
32
on:
43
push:
54
branches: [develop]
65
pull_request:
76
branches: [master, develop, next]
8-
97
jobs:
108
test:
119
name: Test
1210
runs-on: ubuntu-latest
13-
11+
timeout-minutes: 10
1412
strategy:
1513
matrix:
1614
node-version: [10.x, 14.x]
17-
1815
steps:
1916
- name: Checkout
2017
uses: actions/checkout@v2

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ node_modules/
1717

1818
# Output of 'npm pack'
1919
*.tgz
20+
21+
# Jest coverage data
22+
coverage
23+
24+
# Distribution files
25+
dist

jest.config.js

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

lib/index.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/minify-plugin.js

Lines changed: 0 additions & 124 deletions
This file was deleted.

0 commit comments

Comments
 (0)