Skip to content

Commit d619dfa

Browse files
committed
## v2021.5.21
- this ci-release does not change any core-functionality of file jslint.js - doc - add file CHANGELOG.md - ci - begin addng regression tests and improve code-coverage. - ci - allow pull-requests to run restricted-ci (cannot upload artifacts). - gh-pages - fix missing assets and insecure http-links. - gh-pages - merge file jslint.css into index.html. - gh-pages - add files image-jslint-xxx.png. - gh-pages - cleanup asset naming-convention. - fix missing fonts in function.html and help.html. - add files .gitconfig, Daley-Bold.woff2, Programma-Bold.woff2, icon-folder-open-solid.svg, icon-window-maximize-regular.svg. - ci - fix http-links after moving to jslint-org. - doc - migrate file README to README.md with embedded ci links and screenshots. - ci - add macos and windows to ci-matrix. - ci - ci now fails if jslint-check fails for any of the files in branches. - ci - add github-workflows to generate code-coverage for jslint.js.
1 parent 991dc16 commit d619dfa

22 files changed

Lines changed: 1075 additions & 557 deletions

.github/workflows/ci.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
# derived from
2-
# https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml
3-
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
4-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
1+
# this workflow will run nodejs coverages and tests and
2+
# upload build-artifacts to branch-gh-pages
53
name: CI
64
on:
75
push:
86
branches:
9-
- alpha
10-
- beta
11-
- master
12-
- sandbox
13-
# - none
14-
# - pull_request:
15-
# branches:
16-
# - alpha
17-
# - beta
7+
- alpha
8+
- beta
9+
- master
10+
- sandbox
11+
# shCiBase - start
1812
jobs:
1913
build:
2014
runs-on: ${{ matrix.os }}
@@ -43,9 +37,13 @@ jobs:
4337
architecture: ${{ matrix.architecture }}
4438
# fetch ci.sh from trusted source
4539
- run: git fetch origin alpha && git checkout origin/alpha ci.sh
46-
- run: sh ci.sh shGithubCi
40+
# run nodejs coverages and tests
41+
- run: sh ci.sh shCiBase
42+
# shCiBase - end
43+
# fetch ci.sh from trusted source
4744
- run: git fetch origin alpha && git checkout origin/alpha ci.sh
48-
- run: sh ci.sh shGithubArtifactUpload
45+
# upload build-artifacts to branch-gh-pages
46+
- run: sh ci.sh shCiArtifactUpload
4947
env:
5048
CI_NODE_VERSION_ARCH_PLATFORM: v14.x64.linux
5149
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# this workflow will run nodejs coverages and tests
2+
name: on_pull_request
3+
on:
4+
- pull_request
5+
# shCiBase - start
6+
jobs:
7+
build:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
architecture:
12+
# - arm64
13+
- x64
14+
# - x86
15+
node_version:
16+
- 12
17+
- 14
18+
- 16
19+
os:
20+
- macos-latest
21+
- ubuntu-latest
22+
- windows-latest
23+
name: node . v${{ matrix.node_version }} . ${{ matrix.architecture }} . ${{ matrix.os }}
24+
steps:
25+
# https://github.com/actions/checkout
26+
- uses: actions/checkout@v2
27+
# https://github.com/actions/setup-node
28+
- uses: actions/setup-node@v2
29+
with:
30+
node-version: ${{ matrix.node_version }}
31+
architecture: ${{ matrix.architecture }}
32+
# fetch ci.sh from trusted source
33+
- run: git fetch origin alpha && git checkout origin/alpha ci.sh
34+
# run nodejs coverages and tests
35+
- run: sh ci.sh shCiBase
36+
# shCiBase - end

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Changelog
2+
3+
## Todo
4+
- doc - add svg package-listing.
5+
- ci - continue addng regression tests and improve code-coverage.
6+
- none
7+
8+
## v9999.99.99
9+
- none
10+
11+
## v2021.5.21
12+
- this ci-release does not change any core-functionality of file jslint.js
13+
- doc - add file CHANGELOG.md
14+
- ci - begin addng regression tests and improve code-coverage.
15+
- ci - allow pull-requests to run restricted-ci (cannot upload artifacts).
16+
- gh-pages - fix missing assets and insecure http-links.
17+
- gh-pages - merge file jslint.css into index.html.
18+
- gh-pages - add files image-jslint-xxx.png.
19+
- gh-pages - cleanup asset naming-convention.
20+
- fix missing fonts in function.html and help.html.
21+
- add files .gitconfig, Daley-Bold.woff2, Programma-Bold.woff2, icon-folder-open-solid.svg, icon-window-maximize-regular.svg.
22+
- ci - fix http-links after moving to jslint-org.
23+
- doc - migrate file README to README.md with embedded ci links and screenshots.
24+
- ci - add macos and windows to ci-matrix.
25+
- ci - ci now fails if jslint-check fails for any of the files in branches.
26+
- ci - add github-workflows to generate code-coverage for jslint.js.
27+
28+
## v2020.11.6
29+
- vestigial

README.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
Douglas Crockford
44
douglas@crockford.com
55

6-
2020-11-06
6+
## v2021.5.21
77

88
## Status
99
| Branch | [master](https://github.com/jslint-org/jslint/tree/master) | [beta](https://github.com/jslint-org/jslint/tree/beta) | [alpha](https://github.com/jslint-org/jslint/tree/alpha)|
1010
|--:|:--:|:--:|:--:|
1111
| CI | [![ci](https://github.com/jslint-org/jslint/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jslint-org/jslint/actions?query=branch%3Amaster) | [![ci](https://github.com/jslint-org/jslint/actions/workflows/ci.yml/badge.svg?branch=beta)](https://github.com/jslint-org/jslint/actions?query=branch%3Abeta) | [![ci](https://github.com/jslint-org/jslint/actions/workflows/ci.yml/badge.svg?branch=alpha)](https://github.com/jslint-org/jslint/actions?query=branch%3Aalpha)|
1212
| Coverage | [![coverage](https://jslint-org.github.io/jslint/branch.master/.build/coverage/coverage-badge.svg)](https://jslint-org.github.io/jslint/branch.master/.build/coverage/index.html) | [![coverage](https://jslint-org.github.io/jslint/branch.beta/.build/coverage/coverage-badge.svg)](https://jslint-org.github.io/jslint/branch.beta/.build/coverage/index.html) | [![coverage](https://jslint-org.github.io/jslint/branch.alpha/.build/coverage/coverage-badge.svg)](https://jslint-org.github.io/jslint/branch.alpha/.build/coverage/index.html)|
13-
| Demo | [<img src="https://jslint-org.github.io/jslint/icon-window-maximize-regular.svg" height="30">](https://jslint-org.github.io/jslint/branch.master/index.html) | [<img src="https://jslint-org.github.io/jslint/icon-window-maximize-regular.svg" height="30">](https://jslint-org.github.io/jslint/branch.beta/index.html) | [<img src="https://jslint-org.github.io/jslint/icon-window-maximize-regular.svg" height="30">](https://jslint-org.github.io/jslint/branch.alpha/index.html)|
14-
| Artifacts | [<img src="https://jslint-org.github.io/jslint/icon-folder-open-solid.svg" height="30">](https://github.com/jslint-org/jslint/tree/gh-pages/branch.master/.build) | [<img src="https://jslint-org.github.io/jslint/icon-folder-open-solid.svg" height="30">](https://github.com/jslint-org/jslint/tree/gh-pages/branch.beta/.build) | [<img src="https://jslint-org.github.io/jslint/icon-folder-open-solid.svg" height="30">](https://github.com/jslint-org/jslint/tree/gh-pages/branch.alpha/.build)|
13+
| Demo | [<img src="image-window-maximize-regular.svg" height="30">](https://jslint-org.github.io/jslint/branch.master/index.html) | [<img src="image-window-maximize-regular.svg" height="30">](https://jslint-org.github.io/jslint/branch.beta/index.html) | [<img src="image-window-maximize-regular.svg" height="30">](https://jslint-org.github.io/jslint/branch.alpha/index.html)|
14+
| Artifacts | [<img src="image-folder-open-solid.svg" height="30">](https://github.com/jslint-org/jslint/tree/gh-pages/branch.master/.build) | [<img src="image-folder-open-solid.svg" height="30">](https://github.com/jslint-org/jslint/tree/gh-pages/branch.beta/.build) | [<img src="image-folder-open-solid.svg" height="30">](https://github.com/jslint-org/jslint/tree/gh-pages/branch.alpha/.build)|
1515

1616
## Live Web Demo
1717
- [https://jslint-org.github.io/jslint/index.html](https://jslint-org.github.io/jslint/index.html)
1818

19-
[![screenshot](https://jslint-org.github.io/jslint/branch.master/.build/screenshot.browser.%252Findex.html.png)](https://jslint-org.github.io/jslint/index.html)
19+
[![screenshot](https://jslint-org.github.io/jslint/branch.master/.build/screenshot.browser._2findex.html.png)](https://jslint-org.github.io/jslint/index.html)
2020

2121
## Description
2222
`jslint.js` contains the jslint function. It parses and analyzes a source file,
@@ -51,18 +51,3 @@ This applies to programming as well. Conforming to a consistent style improves
5151
readability, and frees you to express yourself in ways that matter. JSLint here
5252
plays the part of a stern but benevolent editor, helping you to get the style
5353
right so that you can focus your creative energy where it is most needed.
54-
55-
## Changelog Since v2020.11.6
56-
- add files .gitconfig, Daley-Bold.woff2, Programma-Bold.woff2, icon-folder-open-solid.svg, icon-window-maximize-regular.svg
57-
- ci - fix http-links after moving to jslint-org
58-
- doc - migrate file README to README.md with embedded ci links and screenshots.
59-
- ci - add macos and windows to ci-matrix.
60-
- ci - ci now fails if jslint-check fails for any of the files in branches.
61-
- ci - add github-workflows to generate code-coverage for jslint.js.
62-
- none
63-
64-
## Todo
65-
- ci - allow pr to run ci
66-
- doc - add svg package-listing.
67-
- ci - add regression tests and improve code-coverage.
68-
- none

0 commit comments

Comments
 (0)