Improve environment variables management and deploy #41
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 | |
'on': | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the Repo | |
- uses: actions/checkout@v2 | |
# Install Node 17 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 17 | |
# Install dependencies | |
- run: npm ci | |
# Run tests | |
- run: npm test |