You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3
+
4
+
name: CI
5
+
6
+
on:
7
+
push:
8
+
branches: ['master']
9
+
pull_request:
10
+
branches: ['master']
11
+
12
+
jobs:
13
+
commitlint:
14
+
runs-on: ubuntu-latest
15
+
steps:
16
+
- uses: actions/checkout@v3
17
+
with:
18
+
fetch-depth: 0
19
+
- uses: wagoid/commitlint-github-action@v4
20
+
21
+
lint:
22
+
needs: commitlint
23
+
runs-on: ubuntu-latest
24
+
steps:
25
+
- uses: actions/checkout@v3
26
+
- name: Use Node.js 18.x
27
+
uses: actions/setup-node@v3
28
+
with:
29
+
node-version: '18.x'
30
+
cache: 'npm'
31
+
- run: npm ci
32
+
- run: npm run lint
33
+
34
+
test:
35
+
needs: lint
36
+
runs-on: ubuntu-latest
37
+
strategy:
38
+
matrix:
39
+
node-version: [14.x, 16.x, 18.x]
40
+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
Copy file name to clipboardexpand all lines: LICENSE
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Copyright (C) 2018-2019 yanhaijing
1
+
Copyright (C) 2018-2023 yanhaijing
2
2
3
3
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
[](http://isitmaintained.com/project/jsmini/guid"Percentage of issues still open")
8
+
[](http://isitmaintained.com/project/jsmini/guid'Percentage of issues still open')
0 commit comments