diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 2871c025..636344c1 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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 }} diff --git a/.github/workflows/publish_dev.yml b/.github/workflows/publish_dev.yml index 0010dee5..6c4be405 100644 --- a/.github/workflows/publish_dev.yml +++ b/.github/workflows/publish_dev.yml @@ -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 diff --git a/.github/workflows/publish_from_git.yml b/.github/workflows/publish_from_git.yml index fbdaeff2..4d28542e 100644 --- a/.github/workflows/publish_from_git.yml +++ b/.github/workflows/publish_from_git.yml @@ -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 diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 801e8f2d..36dcdf2a 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -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 @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2324dfc2..90e9a00a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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: @@ -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 diff --git a/package.json b/package.json index 94b22db5..4e277aa8 100644 --- a/package.json +++ b/package.json @@ -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",