Skip to content

DEV - Backup L0b : OK #118

DEV - Backup L0b : OK

DEV - Backup L0b : OK #118

Workflow file for this run

name: Tests CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node 18
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: "Create env file"
run: |
touch .env
echo TEST_ACCESS_TOKEN_SECRET = access_secret >> .env
echo TEST_REFRESH_TOKEN_SECRET = refresh_secret >> .env
cat .env
- name: Run tests
run: npm run test-CI
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}