Skip to content

Commit b0cd3aa

Browse files
authored
BREAKING CHANGE: Comunica v3 (#258)
BREAKING CHANGE: Comunica v3 (#258)
1 parent f01ece6 commit b0cd3aa

File tree

13 files changed

+18479
-12014
lines changed

13 files changed

+18479
-12014
lines changed

.github/dependabot.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ updates:
88
- package-ecosystem: "npm" # See documentation for possible values
99
directory: "/" # Location of package manifests
1010
schedule:
11-
interval: "weekly"
11+
interval: "daily"
12+
- package-ecosystem: "github-actions"
13+
directory: "/" # Location of package manifests
14+
schedule:
15+
interval: "daily"
16+
labels:
17+
- "dependencies"

.github/workflows/automerge.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: automerge
1+
name: Enable automerge on dependabot PRs
2+
23
on:
3-
pull_request:
4-
types:
5-
- labeled
6-
check_suite:
7-
types:
8-
- completed
9-
status: {}
4+
pull_request_target:
5+
106
jobs:
117
automerge:
8+
name: Enable automerge on dependabot PRs
129
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
repository-projects: write
1314
steps:
14-
- name: automerge
15-
uses: "pascalgn/[email protected]"
16-
env:
17-
MERGE_LABELS: "dependencies"
18-
GITHUB_TOKEN: "${{ secrets.GH_TOKEN }}"
15+
- uses: actions/checkout@v4
16+
- run: gh pr merge ${{ github.event.pull_request.html_url }} --auto --squash
17+
env:
18+
GH_TOKEN: ${{ github.token }

.github/workflows/lint.yml

-20
This file was deleted.

.github/workflows/nodejs.yml

+38-7
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,54 @@
33

44
name: Node.js CI
55

6-
on: [push]
6+
on:
7+
push:
8+
branches:
9+
- master
10+
pull_request:
711

812
jobs:
9-
build:
10-
13+
test:
1114
runs-on: ubuntu-latest
1215

1316
strategy:
1417
matrix:
15-
node-version: [14.x, 15.x, 16.x, 17.x]
18+
node-version: [18, 20]
1619

1720
steps:
18-
- uses: actions/checkout@v2
19-
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v1
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
2123
with:
2224
node-version: ${{ matrix.node-version }}
2325
- run: npm install
2426
- run: npm run build --if-present
2527
- run: npm test
28+
29+
eslint:
30+
name: Lint
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
- uses: actions/setup-node@v4
35+
with:
36+
node-version: 20
37+
- run: npm install
38+
- run: npm run build --if-present
39+
- run: npm run-script lint
40+
41+
release:
42+
if: ${{ github.ref == 'refs/heads/master' }}
43+
needs: [ eslint, test ]
44+
runs-on: ubuntu-latest
45+
steps:
46+
- uses: actions/checkout@v4
47+
- uses: actions/setup-node@v4
48+
with:
49+
node-version: 20
50+
- run: npm install
51+
- run: npm run build --if-present
52+
- name: Release
53+
env:
54+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
55+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
56+
run: npx semantic-release

.github/workflows/release.yml

-24
This file was deleted.

0 commit comments

Comments
 (0)