Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node 14 -> 17 в Actions, поправил сборку #100

Merged
merged 2 commits into from
Apr 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '17'
- uses: artiomtr/jest-coverage-report-action@v2.0-rc.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/publish_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 17
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- name: Assigning new version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_from_git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 17
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- name: Publishing release
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Use Node.js 14
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 17
cache: 'npm'
registry-url: https://registry.npmjs.org/
- run: npm ci
Expand All @@ -32,10 +32,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Use Node.js 14
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 17
cache: 'npm'
registry-url: https://registry.npmjs.org/
- run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '17'
- run: npm ci
- run: npm run lint
test:
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '17'
- run: npm ci
- run: npm run test:ci
build:
Expand All @@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '17'
- run: npm ci
- run: npm run build

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "utils/descriptions.js",
"scripts": {
"build": "npm run build:script && npm run tsc:generate-paths && npm run tsc:dist",
"build": "mkdir -p dist && npm run build:script && npm run tsc:generate-paths && npm run tsc:dist",
"build:local": "npm run build && npm run clear:dist",
"prepublishOnly": "echo 'ПРЕДУПРЕЖДЕНИЕ: Публиковать из root этот пакет нельзя: выполните команду \\033[1;32m\"npm run publish:dist\"' && exit 1",
"prepublish:dist": "npm run clear:src && npm run build",
Expand Down