feat(): add private channel detection for perps, options and announce… #28
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 & Test' | |
on: [push] | |
# on: | |
# # pull_request: | |
# # branches: | |
# # - "master" | |
# push: | |
# branches: | |
jobs: | |
build: | |
name: 'Build & Test' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout source code' | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
registry-url: 'https://registry.npmjs.org/' | |
cache: 'npm' | |
- name: Install | |
run: npm ci --ignore-scripts | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm run test | |
env: | |
API_KEY: ${{ secrets.API_KEY }} | |
API_SECRET: ${{ secrets.API_SECRET }} | |
PROXY_ENABLED: ${{ secrets.PROXY_ENABLED }} | |
PROXY_HOST: ${{ secrets.PROXY_HOST }} | |
PROXY_PASS: ${{ secrets.PROXY_PASS }} | |
PROXY_PORT: ${{ secrets.PROXY_PORT }} | |
PROXY_USER: ${{ secrets.PROXY_USER }} |