Skip to content

Ag 39 encrypt dec data #50

Ag 39 encrypt dec data

Ag 39 encrypt dec data #50

Workflow file for this run

name: CI
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
codeQuality:
runs-on: ubuntu-latest
env:
ALCHEMY_PRIVATE_KEY: ${{ secrets.ALCHEMY_PRIVATE_KEY }}
SEPOLIA_URL: ${{ secrets.SEPOLIA_URL }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Use Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: Set up Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "nova collective"
- name: Install dependencies
run: node ci --function installDeps
- name: Run linter
run: node ci --function lint
- name: Run duplications check
run: node ci --function checksDuplications
- name: Run smart contracts unit tests
run: node ci --function smartContractsUnitTest
- name: Run scripts unit tests
run: node ci --function scriptsUnitTest
- name: Tag the release with the version
run: node ci --function tagRelease
if: |
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
(github.event_name == 'pull_request' && github.base_ref == 'refs/heads/main' && github.event.action == 'closed' && github.event.pull_request.merged)