Skip to content

Commit 78314c0

Browse files
authored
Merge pull request #69 from atom-community/ignore-vars-pattern
2 parents be5d8a5 + 637be10 commit 78314c0

File tree

5 files changed

+1045
-963
lines changed

5 files changed

+1045
-963
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@ jobs:
1414
- ubuntu-latest
1515
# - macos-latest
1616
# - windows-latest
17-
atom_channel: [stable, beta]
1817
steps:
1918
- uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Commit lint ✨
23+
uses: wagoid/commitlint-github-action@v5
2024

2125
- uses: actions/setup-node@v3
2226
with:
23-
node-version: "14"
27+
node-version: "18"
2428
- name: Setup PNPM
2529
uses: pnpm/action-setup@master
2630
with:
@@ -29,33 +33,18 @@ jobs:
2933
- name: Install dependencies
3034
run: pnpm install
3135

32-
- name: Tests
33-
run: |
34-
pnpm test
35-
36-
Lint:
37-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
38-
runs-on: ubuntu-latest
39-
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-
steps:
42-
- uses: actions/checkout@v3
43-
with:
44-
fetch-depth: 0
45-
- name: Commit lint ✨
46-
uses: wagoid/commitlint-github-action@v5
47-
48-
- name: Install dependencies
49-
run: npm install
50-
5136
- name: Format ✨
52-
run: npm run test.format
37+
run: pnpm run test.format
5338

5439
- name: Lint ✨
55-
run: npm run test.lint
40+
run: pnpm run test.lint
41+
42+
- name: Tests
43+
run: |
44+
pnpm test
5645
5746
Release:
58-
needs: [Test, Lint]
47+
needs: [Test]
5948
if: github.ref == 'refs/heads/master' &&
6049
github.event.repository.fork == false
6150
runs-on: ubuntu-latest
@@ -72,9 +61,3 @@ jobs:
7261
env:
7362
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7463
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
75-
Skip:
76-
if: contains(github.event.head_commit.message, '[skip ci]')
77-
runs-on: ubuntu-latest
78-
steps:
79-
- name: Skip CI 🚫
80-
run: echo skip ci

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
},
2222
"prettier": "prettier-config-atomic",
2323
"dependencies": {
24-
"@babel/core": "^7.21.3",
25-
"@babel/eslint-parser": "^7.21.3",
26-
"@babel/plugin-syntax-flow": "^7.18.6",
27-
"@babel/plugin-syntax-jsx": "^7.18.6",
28-
"@typescript-eslint/eslint-plugin": "^5.55.0",
29-
"@typescript-eslint/parser": "^5.55.0",
24+
"@babel/core": "^7.21.8",
25+
"@babel/eslint-parser": "^7.21.8",
26+
"@babel/plugin-syntax-flow": "^7.21.4",
27+
"@babel/plugin-syntax-jsx": "^7.21.4",
28+
"@typescript-eslint/eslint-plugin": "^5.59.7",
29+
"@typescript-eslint/parser": "^5.59.7",
3030
"eslint": "^8.17.0",
31-
"eslint-config-prettier": "^8.7.0",
31+
"eslint-config-prettier": "^8.8.0",
3232
"eslint-plugin-html": "^7.1.0",
3333
"eslint-plugin-import": "^2.27.5",
3434
"eslint-plugin-json": "^3.1.0",
@@ -37,18 +37,18 @@
3737
"eslint-plugin-optimize-regex": "^1.2.1",
3838
"eslint-plugin-react": "^7.32.2",
3939
"eslint-plugin-yaml": "^0.5.0",
40-
"prettier": "2.8.4",
40+
"prettier": "2.8.8",
4141
"read-pkg-up": "^7.0.1",
42-
"semver": "^7.3.8",
43-
"typescript": "^5.0.2"
42+
"semver": "^7.5.1",
43+
"typescript": "^5.0.4"
4444
},
4545
"devDependencies": {
46-
"@types/node": "^18.15.3",
47-
"@types/semver": "^7.3.13",
46+
"@types/node": "^20.2.3",
47+
"@types/semver": "^7.5.0",
4848
"eslint": "^8",
4949
"execa": "^5.1.1",
50-
"gitly": "^2.4.1",
51-
"npm-check-updates": "16.7.12",
50+
"gitly": "^2.4.2",
51+
"npm-check-updates": "16.10.12",
5252
"prettier-config-atomic": "^3.1.0",
5353
"shelljs": "^0.8.5"
5454
},

0 commit comments

Comments
 (0)