Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update toolchain #714

Merged
merged 4 commits into from
Sep 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .babelrc.js

This file was deleted.

1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ module.exports = {
"keyword-spacing": [error, {"before": true}],
"linebreak-style": [error, "unix"],
"no-confusing-arrow": error,
"no-console": error,
"no-else-return": error,
"no-eval": error,
"no-implied-eval": error,
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Coverage
on:
pull_request:
branches: [ develop ]
jobs:
check:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: npm install

- name: Instrument coverage
run: npm run coverage:instrument

- name: Check coverage
run: npm run coverage:check

- name: Check coverage
if: failure()
run: npm run coverage:report

- name: Exporting report
uses: actions/upload-artifact@v3
if: failure()
with:
name: coverage
path: |
./coverage
if-no-files-found: ignore
29 changes: 0 additions & 29 deletions .github/workflows/gulp.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint
on:
pull_request:
branches: [ develop ]
jobs:
check:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: npm install

- name: Eslint
run: npm run lint
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test
on:
pull_request:
branches: [ develop ]
jobs:
check:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: npm install

- name: Build
run: npm run build

- name: Jasmine
run: npm run test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ coverage/
dist/
/languages.js
/languages.unmin.js
.nyc_output/
6 changes: 6 additions & 0 deletions .nycrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"all": true,
"include": [
"src/**/*.js"
]
}
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

Loading
Loading