Skip to content

Commit 50e07e9

Browse files
committed
try
1 parent 12978e2 commit 50e07e9

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

.github/workflows/cd.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Release on npm
22

33
on:
44
push:
5-
tags:
6-
- v*
5+
branches:
6+
- "*"
77

88
jobs:
99
build:
@@ -13,7 +13,7 @@ jobs:
1313

1414
- uses: actions/setup-node@v2
1515
with:
16-
node-version: 16
16+
node-version: 14
1717

1818
- name: Get npm cache directory
1919
id: npm-cache-dir
@@ -30,14 +30,16 @@ jobs:
3030
3131
- run: npm ci
3232

33-
- run: npm run lint-dry
33+
# - run: npm run lint-dry
3434

35-
- run: npm run test-ci
35+
# - run: npm run test-ci
36+
- run: node -v
37+
- run: npm -v
3638

3739
# @see https://github.com/actions/setup-node/issues/213
3840
# Workaround, but not working
39-
- name: npm 7
40-
run: npm i -g npm@7 --registry=https://registry.npmjs.org
41+
# - name: npm 7
42+
# run: npm i -g npm@7 --registry=https://registry.npmjs.org
4143

4244
- run: npm publish
4345
env:

.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
"name": "eslint-plugin-no-dangerous",
33
"description": "Prohibit dangerous functions.",
44
"version": "0.0.3",
5-
"engines": {
6-
"node": "^16",
7-
"npm": "^7"
8-
},
95
"license": "MIT",
106
"keywords": [
117
"eslint",

0 commit comments

Comments
 (0)