Skip to content

Commit

Permalink
requres debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
siarheidudko committed Aug 20, 2024
1 parent e70f3b6 commit b781def
Show file tree
Hide file tree
Showing 19 changed files with 1,536 additions and 8,179 deletions.
125 changes: 0 additions & 125 deletions .eslintrc.js

This file was deleted.

20 changes: 10 additions & 10 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
update:
env:
SERVICE_ACCOUNT: ${{ secrets.SERVICE_ACCOUNT }}
NODE_VERSION: 20
NODE_VERSION: 22
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
Expand All @@ -18,7 +18,7 @@ jobs:
steps:
- name: Сheckout repo
id: checkout_repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: "master"
path: "tmp"
Expand All @@ -28,13 +28,13 @@ jobs:
working-directory: ${{ github.workspace }}/tmp
- 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 Expand Up @@ -63,30 +63,30 @@ jobs:
git add --all
git commit -m 'hosting'
ignore-packages: |
eslint
@types/node
release:
runs-on: ubuntu-latest
timeout-minutes: 20
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 Expand Up @@ -128,7 +128,7 @@ jobs:
working-directory: /
- name: The job has failed
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: logs
path: ${{ github.workspace }}/npm-logs.tar.gz
Expand Down
20 changes: 10 additions & 10 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@v3
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 @@ -34,7 +34,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 @@ -44,22 +44,22 @@ jobs:
timeout-minutes: 15
needs: [build]
env:
NODE_VERSION: 20
NODE_VERSION: 22
steps:
- name: Сheckout repo
uses: actions/checkout@v3
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 }}
registry-url: "https://registry.npmjs.org"
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
NODE_VERSION: 20
NODE_VERSION: 22
steps:
- name: Сheckout repo
uses: actions/checkout@v3
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,31 +36,31 @@ 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
retention-days: 1
node18:
node20:
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [build]
env:
NODE_VERSION: 18
NODE_VERSION: 20
steps:
- name: Сheckout repo
uses: actions/checkout@v3
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 @@ -78,26 +78,26 @@ jobs:
run: echo $SERVICE_ACCOUNT>serviceAccount.json
- name: Run emulator
run: npm run cov
node20:
node22:
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [build, node18]
needs: [build, node20]
env:
NODE_VERSION: 20
NODE_VERSION: 22
steps:
- name: Сheckout repo
uses: actions/checkout@v3
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 Down
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ typedoc.json
*.log
firestore.rules
firestore.indexes.json
storage.rules
storage.rules
eslint.config.mjs
Loading

0 comments on commit b781def

Please sign in to comment.