Merge pull request #321 from yusufidimaina9989/master #240
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-Test | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Prepare git | |
run: git config --global core.autocrlf false | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Npm Install | |
run: npm i | |
- name: Test Generate private key | |
run: npm run genprivkey | |
- name: gen Env | |
run: echo "PRIVATE_KEY="${{ secrets.PRIVATE_KEY }}"" > .env | |
- name: Test | |
run: npm t |