Skip to content

feat: upgrading to rxdb 15.X #123

feat: upgrading to rxdb 15.X

feat: upgrading to rxdb 15.X #123

Workflow file for this run

name: Continuous integration
concurrency:
group: ${{ github.head_ref }}${{ github.ref }}-pluto
cancel-in-progress: true
on:
pull_request:
branches:
- '*'
jobs:
build-and-test:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
token: ${{ secrets.PLUTO_GITHUB }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- uses: crazy-max/ghaction-import-gpg@v5
id: import_gpg
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: CI TASK
env:
GH_TOKEN: ${{ secrets.PLUTO_GITHUB }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_AUTHOR_NAME: ${{ secrets.GITHUB_AUTHOR_NAME }}
GITHUB_AUTHOR_EMAIL: ${{ secrets.GITHUB_AUTHOR_EMAIL }}
GITHUB_COMMITER_NAME: ${{ secrets.GITHUB_COMMITER_NAME }}
GITHUB_COMMITER_EMAIL: ${{ secrets.GITHUB_COMMITER_EMAIL }}
CI: true
run: |
npm install
chmod +x coverage.sh
./coverage.sh
npm run build
npm run lint
npm run coverage
- name: Coverage Comment
uses: MishaKav/jest-coverage-comment@v1.0.23
env:
GH_TOKEN: ${{ secrets.PLUTO_GITHUB }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_AUTHOR_NAME: ${{ secrets.GITHUB_AUTHOR_NAME }}
GITHUB_AUTHOR_EMAIL: ${{ secrets.GITHUB_AUTHOR_EMAIL }}
GITHUB_COMMITER_NAME: ${{ secrets.GITHUB_COMMITER_NAME }}
GITHUB_COMMITER_EMAIL: ${{ secrets.GITHUB_COMMITER_EMAIL }}
CI: true
with:
title: Test Coverage for @pluto-encrypted/database
multiple-files: |
@pluto-encrypted/database, packages/database/coverage/coverage-summary.json
@pluto-encrypted/indexdb, packages/indexdb/coverage/coverage-summary.json
@pluto-encrypted/inmemory, packages/inmemory/coverage/coverage-summary.json
@pluto-encrypted/leveldb, packages/leveldb/coverage/coverage-summary.json