Skip to content

Commit f3f07a8

Browse files
authored
Release v2.1.0 (#47)
* feat: bundle grammar.js, build with prepack, fixes #46 * ci: updated to latest * added .release * README: update badge URLs
1 parent 57c9347 commit f3f07a8

File tree

15 files changed

+258
-124
lines changed

15 files changed

+258
-124
lines changed

.github/workflows/ci-test-win.yml

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

.github/workflows/ci-test.yml

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

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on: [ push ]
4+
5+
env:
6+
CI: true
7+
8+
jobs:
9+
10+
lint:
11+
uses: haraka/.github/.github/workflows/lint.yml@master
12+
13+
test:
14+
needs: [ lint, get-lts ]
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
matrix:
18+
os: [ ubuntu-latest, windows-latest ]
19+
node-version: ${{ fromJson(needs.get-lts.outputs.active) }}
20+
fail-fast: false
21+
steps:
22+
- uses: actions/checkout@v3
23+
- uses: actions/setup-node@v3
24+
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: npm install
28+
- run: npm test
29+
30+
get-lts:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- id: get
34+
uses: msimerson/node-lts-versions@v1
35+
outputs:
36+
active: ${{ steps.get.outputs.active }}
37+
lts: ${{ steps.get.outputs.lts }}
38+
min: ${{ steps.get.outputs.min }}

.github/workflows/codeql.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [ master ]
9+
schedule:
10+
- cron: '18 7 * * 4'
11+
12+
jobs:
13+
codeql:
14+
uses: haraka/.github/.github/workflows/codeql.yml@master

.github/workflows/coveralls.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010

1111
steps:
1212

13-
- uses: actions/checkout@master
13+
- uses: actions/checkout@v3
1414
name: Checkout Plugin
1515
with:
1616
fetch-depth: 1
1717

18-
- name: Use Node.js 12
18+
- name: Use Node.js 14
1919
uses: actions/setup-node@master
2020
with:
21-
node-version: 12.x
21+
node-version: 14
2222

2323
- name: install, run
2424
run: |

.github/workflows/lint.yml

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

.github/workflows/publish.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- package.json
9+
10+
env:
11+
CI: true
12+
13+
jobs:
14+
publish:
15+
uses: haraka/.github/.github/workflows/publish.yml@master
16+
secrets: inherit

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,3 @@ node_modules
2929

3030
package-lock.json
3131

32-
# Generated from grammar.ne
33-
grammar.js

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule ".release"]
2+
path = .release
3+
url = git@github.com:msimerson/.release.git

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ build/Release
1111
node_modules
1212
.lock-wscript
1313
package-lock.json
14-
grammar.js
1514
.eslintrc.yaml

0 commit comments

Comments
 (0)