Skip to content

Commit

Permalink
update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
siarheidudko committed Aug 20, 2024
1 parent 9f9f564 commit 3566b4d
Show file tree
Hide file tree
Showing 14 changed files with 1,323 additions and 5,905 deletions.
122 changes: 0 additions & 122 deletions .eslintrc.js

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: Сheckout repo
id: checkout_repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: "tmp"
ref: "master"
Expand All @@ -40,25 +40,25 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
NODE_VERSION: 20
NODE_VERSION: 22
VERSION: ${{ needs.update.outputs.version }}
needs: [update]
if: ${{ needs.update.outputs.updated == 'true' }}
steps:
- name: Сheckout repo
id: checkout_repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: "master"
- name: Use Node.js ${{ env.NODE_VERSION }}
id: setup_node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: "https://registry.npmjs.org"
- name: Cache node modules
id: use_cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
NODE_VERSION: 20
NODE_VERSION: 22
steps:
- name: Сheckout repo
uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Run builder
run: npm run build
- name: Archiving lib directory
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lib
path: ${{ github.workspace }}/lib
Expand All @@ -45,21 +45,21 @@ jobs:
timeout-minutes: 15
needs: [build]
env:
NODE_VERSION: 20
NODE_VERSION: 22
steps:
- name: Сheckout repo
uses: actions/checkout@v4
- name: Unarchiving lib directory
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lib
path: ${{ github.workspace }}/lib
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -84,7 +84,7 @@ jobs:
draft: false
prerelease: false
- name: Set registry npm packages
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
- name: Publish package to NPM
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
NODE_VERSION: 20
NODE_VERSION: 22
steps:
- name: Сheckout repo
uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Run builder
run: npm run build
- name: Archiving lib directory
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lib
path: ${{ github.workspace }}/lib
Expand All @@ -46,21 +46,21 @@ jobs:
needs: build
strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x, 20.x]
node-version: [12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
steps:
- name: Сheckout repo
uses: actions/checkout@v4
- name: Unarchiving lib directory
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lib
path: ${{ github.workspace }}/lib
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/remove-old-artifacts.yml

This file was deleted.

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ object.json
src
test
.eslintrc.js
eslint.config.mjs
.gitignore
.npmignore
Dockerfile
Expand Down
Loading

0 comments on commit 3566b4d

Please sign in to comment.