Skip to content

Commit bb09589

Browse files
committed
feat: обновлен class-validator до ^0.14.1
1 parent 2e23b35 commit bb09589

File tree

3 files changed

+8
-59
lines changed

3 files changed

+8
-59
lines changed

.github/workflows/deploy.yaml

+5-31
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,10 @@
1-
name: deploy workflow
1+
name: deploy
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
dry_run:
7-
description: Dry run
8-
required: true
9-
default: "false"
4+
- workflow_dispatch
105

116
jobs:
127
deploy:
13-
name: deploy
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: checkout
17-
uses: actions/checkout@v2
18-
with:
19-
fetch-depth: 0
20-
21-
- name: install nodejs
22-
uses: actions/setup-node@v2
23-
with:
24-
node-version: "14"
25-
26-
- name: install dependencies
27-
run: yarn install --production false --frozen-lockfile
28-
29-
- name: build
30-
run: yarn run build
31-
32-
- name: semantic release
33-
run: yarn semantic-release --dry-run ${{ github.event.inputs.dry_run }}
34-
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
8+
uses: Byndyusoft/node-reusable-workflows/.github/workflows/deploy.yaml@master
9+
secrets:
10+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yaml

+2-26
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,9 @@
1-
name: test workflow
1+
name: test
22

33
on:
44
- push
55
- pull_request
66

77
jobs:
88
test:
9-
name: test
10-
11-
strategy:
12-
matrix:
13-
os: [ubuntu-latest, windows-latest, macos-latest]
14-
node-version: ["12", "14", "16"]
15-
16-
runs-on: ${{ matrix.os }}
17-
steps:
18-
- name: checkout
19-
uses: actions/checkout@v2
20-
21-
- name: install nodejs
22-
uses: actions/setup-node@v2
23-
with:
24-
node-version: ${{ matrix.node-version }}
25-
26-
- name: install dependencies
27-
run: yarn install --production false --frozen-lockfile --ignore-engines
28-
29-
- name: lint
30-
run: yarn run lint
31-
32-
- name: test
33-
run: yarn run test:cov
9+
uses: Byndyusoft/node-reusable-workflows/.github/workflows/test.yaml@master

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,5 @@
120120
},
121121
"publishConfig": {
122122
"access": "public"
123-
},
124-
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
123+
}
125124
}

0 commit comments

Comments
 (0)