Allow for dynamic handling of private servers #45
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: Build | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: latest | |
- name: Installation | |
run: npm ci | |
- name: Create config | |
run: | | |
echo $CONFIG_JSON > ./src/config.json | |
env: | |
CONFIG_JSON: ${{ secrets.CONFIG_FILE }} | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: tsc |