Merge branch 'dev' into dev

This commit is contained in:
Ayes 2022-10-16 16:19:08 +03:00 committed by GitHub
commit 24acf16769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 349 additions and 506 deletions

View file

@ -12,9 +12,9 @@ jobs:
PR_NUMBER: ${{github.event.number}} PR_NUMBER: ${{github.event.number}}
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3.0.2 uses: actions/checkout@v3.1.0
- name: Setup node - name: Setup node
uses: actions/setup-node@v3.5.0 uses: actions/setup-node@v3.5.1
with: with:
node-version: 17.9.0 node-version: 17.9.0
cache: 'npm' cache: 'npm'

View file

@ -13,7 +13,7 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }} if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps: steps:
- name: Download pr number - name: Download pr number
uses: dawidd6/action-download-artifact@7847792dd435a50521b8e3bd3576dae7459d1fa8 uses: dawidd6/action-download-artifact@46b4ae883bf0726f5949d025d31cb62c7a5ac70c
with: with:
workflow: ${{ github.event.workflow.id }} workflow: ${{ github.event.workflow.id }}
run_id: ${{ github.event.workflow_run.id }} run_id: ${{ github.event.workflow_run.id }}
@ -22,7 +22,7 @@ jobs:
id: pr id: pr
run: echo "::set-output name=id::$(<pr.txt)" run: echo "::set-output name=id::$(<pr.txt)"
- name: Download artifact - name: Download artifact
uses: dawidd6/action-download-artifact@7847792dd435a50521b8e3bd3576dae7459d1fa8 uses: dawidd6/action-download-artifact@46b4ae883bf0726f5949d025d31cb62c7a5ac70c
with: with:
workflow: ${{ github.event.workflow.id }} workflow: ${{ github.event.workflow.id }}
run_id: ${{ github.event.workflow_run.id }} run_id: ${{ github.event.workflow_run.id }}
@ -30,7 +30,7 @@ jobs:
path: dist path: dist
- name: Deploy to Netlify - name: Deploy to Netlify
id: netlify id: netlify
uses: nwtgck/actions-netlify@b7c1504e00c6b8a249d1848cc1b522a4865eed99 uses: nwtgck/actions-netlify@ac1cb16858bada08a9c71a81240a85cfc3f72913
with: with:
publish-dir: dist publish-dir: dist
deploy-message: "Deploy PR ${{ steps.pr.outputs.id }}" deploy-message: "Deploy PR ${{ steps.pr.outputs.id }}"

View file

@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3.0.2 uses: actions/checkout@v3.1.0
- name: Build Docker image - name: Build Docker image
uses: docker/build-push-action@v3.1.1 uses: docker/build-push-action@v3.2.0
with: with:
context: . context: .
push: false push: false

View file

@ -14,7 +14,7 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3.0.2 uses: actions/checkout@v3.1.0
- name: NPM Lockfile Changes - name: NPM Lockfile Changes
uses: codepunkt/npm-lockfile-changes@b40543471c36394409466fdb277a73a0856d7891 uses: codepunkt/npm-lockfile-changes@b40543471c36394409466fdb277a73a0856d7891
with: with:

View file

@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3.0.2 uses: actions/checkout@v3.1.0
- name: Setup node - name: Setup node
uses: actions/setup-node@v3.5.0 uses: actions/setup-node@v3.5.1
with: with:
node-version: 17.9.0 node-version: 17.9.0
cache: 'npm' cache: 'npm'
@ -22,7 +22,7 @@ jobs:
- name: Build app - name: Build app
run: npm run build run: npm run build
- name: Deploy to Netlify - name: Deploy to Netlify
uses: nwtgck/actions-netlify@b7c1504e00c6b8a249d1848cc1b522a4865eed99 uses: nwtgck/actions-netlify@ac1cb16858bada08a9c71a81240a85cfc3f72913
with: with:
publish-dir: dist publish-dir: dist
deploy-message: "Dev deploy ${{ github.sha }}" deploy-message: "Dev deploy ${{ github.sha }}"

View file

@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3.0.2 uses: actions/checkout@v3.1.0
- name: Setup node - name: Setup node
uses: actions/setup-node@v3.5.0 uses: actions/setup-node@v3.5.1
with: with:
node-version: 17.9.0 node-version: 17.9.0
cache: 'npm' cache: 'npm'
@ -21,7 +21,7 @@ jobs:
- name: Build app - name: Build app
run: npm run build run: npm run build
- name: Deploy to Netlify - name: Deploy to Netlify
uses: nwtgck/actions-netlify@b7c1504e00c6b8a249d1848cc1b522a4865eed99 uses: nwtgck/actions-netlify@ac1cb16858bada08a9c71a81240a85cfc3f72913
with: with:
publish-dir: dist publish-dir: dist
deploy-message: "Prod deploy ${{ github.ref_name }}" deploy-message: "Prod deploy ${{ github.ref_name }}"
@ -64,31 +64,31 @@ jobs:
packages: write packages: write
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3.0.2 uses: actions/checkout@v3.1.0
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2.0.0 uses: docker/setup-qemu-action@v2.1.0
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.0.0 uses: docker/setup-buildx-action@v2.1.0
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2.0.0 uses: docker/login-action@v2.1.0
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to the Container registry - name: Login to the Container registry
uses: docker/login-action@v2.0.0 uses: docker/login-action@v2.1.0
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@v4.0.1 uses: docker/metadata-action@v4.1.0
with: with:
images: | images: |
${{ secrets.DOCKER_USERNAME }}/cinny ${{ secrets.DOCKER_USERNAME }}/cinny
ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v3.1.1 uses: docker/build-push-action@v3.2.0
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64

801
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -17,8 +17,8 @@
"dependencies": { "dependencies": {
"@fontsource/inter": "4.5.13", "@fontsource/inter": "4.5.13",
"@fontsource/roboto": "4.5.8", "@fontsource/roboto": "4.5.8",
"@khanacademy/simple-markdown": "0.8.4", "@khanacademy/simple-markdown": "0.8.5",
"@matrix-org/olm": "3.2.12", "@matrix-org/olm": "3.2.13",
"@tippyjs/react": "4.2.6", "@tippyjs/react": "4.2.6",
"babel-polyfill": "6.26.0", "babel-polyfill": "6.26.0",
"blurhash": "2.0.3", "blurhash": "2.0.3",
@ -48,7 +48,7 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "7.19.3", "@babel/core": "7.19.3",
"@babel/preset-env": "7.19.3", "@babel/preset-env": "7.19.4",
"@babel/preset-react": "7.18.6", "@babel/preset-react": "7.18.6",
"assert": "2.0.0", "assert": "2.0.0",
"babel-loader": "8.2.5", "babel-loader": "8.2.5",
@ -59,18 +59,18 @@
"crypto-browserify": "3.12.0", "crypto-browserify": "3.12.0",
"css-loader": "6.7.1", "css-loader": "6.7.1",
"css-minimizer-webpack-plugin": "4.1.0", "css-minimizer-webpack-plugin": "4.1.0",
"eslint": "8.24.0", "eslint": "8.25.0",
"eslint-config-airbnb": "19.0.4", "eslint-config-airbnb": "19.0.4",
"eslint-plugin-import": "2.26.0", "eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1", "eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.31.8", "eslint-plugin-react": "7.31.10",
"eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-hooks": "4.6.0",
"html-loader": "4.2.0", "html-loader": "4.2.0",
"html-webpack-plugin": "5.5.0", "html-webpack-plugin": "5.5.0",
"mini-css-extract-plugin": "2.6.1", "mini-css-extract-plugin": "2.6.1",
"path-browserify": "1.0.1", "path-browserify": "1.0.1",
"sass": "1.55.0", "sass": "1.55.0",
"sass-loader": "13.0.2", "sass-loader": "13.1.0",
"stream-browserify": "3.0.0", "stream-browserify": "3.0.0",
"style-loader": "3.3.1", "style-loader": "3.3.1",
"url": "0.11.0", "url": "0.11.0",