Skip to content

Commit

Permalink
## v2021.5.21
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
kaizhu256 committed May 21, 2021
1 parent 991dc16 commit d619dfa
Show file tree
Hide file tree
Showing 22 changed files with 1,075 additions and 557 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
# derived from
# https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
# this workflow will run nodejs coverages and tests and
# upload build-artifacts to branch-gh-pages
name: CI
on:
push:
branches:
- alpha
- beta
- master
- sandbox
# - none
# - pull_request:
# branches:
# - alpha
# - beta
- alpha
- beta
- master
- sandbox
# shCiBase - start
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -43,9 +37,13 @@ jobs:
architecture: ${{ matrix.architecture }}
# fetch ci.sh from trusted source
- run: git fetch origin alpha && git checkout origin/alpha ci.sh
- run: sh ci.sh shGithubCi
# run nodejs coverages and tests
- run: sh ci.sh shCiBase
# shCiBase - end
# fetch ci.sh from trusted source
- run: git fetch origin alpha && git checkout origin/alpha ci.sh
- run: sh ci.sh shGithubArtifactUpload
# upload build-artifacts to branch-gh-pages
- run: sh ci.sh shCiArtifactUpload
env:
CI_NODE_VERSION_ARCH_PLATFORM: v14.x64.linux
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36 changes: 36 additions & 0 deletions .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# this workflow will run nodejs coverages and tests
name: on_pull_request
on:
- pull_request
# shCiBase - start
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
architecture:
# - arm64
- x64
# - x86
node_version:
- 12
- 14
- 16
os:
- macos-latest
- ubuntu-latest
- windows-latest
name: node . v${{ matrix.node_version }} . ${{ matrix.architecture }} . ${{ matrix.os }}
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v2
# https://github.com/actions/setup-node
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
# fetch ci.sh from trusted source
- run: git fetch origin alpha && git checkout origin/alpha ci.sh
# run nodejs coverages and tests
- run: sh ci.sh shCiBase
# shCiBase - end
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Changelog

## Todo
- doc - add svg package-listing.
- ci - continue addng regression tests and improve code-coverage.
- none

## v9999.99.99
- none

## 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.

## v2020.11.6
- vestigial
23 changes: 4 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
Douglas Crockford
douglas@crockford.com

2020-11-06
## v2021.5.21

## Status
| 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)|
|--:|:--:|:--:|:--:|
| 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)|
| 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)|
| 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)|
| 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)|
| 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)|
| 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)|

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

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

## Description
`jslint.js` contains the jslint function. It parses and analyzes a source file,
Expand Down Expand Up @@ -51,18 +51,3 @@ This applies to programming as well. Conforming to a consistent style improves
readability, and frees you to express yourself in ways that matter. JSLint here
plays the part of a stern but benevolent editor, helping you to get the style
right so that you can focus your creative energy where it is most needed.

## Changelog Since v2020.11.6
- 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.
- none

## Todo
- ci - allow pr to run ci
- doc - add svg package-listing.
- ci - add regression tests and improve code-coverage.
- none
Loading

0 comments on commit d619dfa

Please sign in to comment.