Feat/add project id to post functionality #11
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
# This workflow will run tests using node when a pull request is created | |
name: Unit testing | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: npm ci | |
- run: npm run prepack | |
- run: | | |
touch .env | |
echo TEST_URL=${{ secrets.TEST_URL }} >> .env | |
echo TEST_TENANT=${{ secrets.TEST_TENANT }} >> .env | |
echo TEST_API_KEY=${{ secrets.TEST_API_KEY }} >> .env | |
cat .env | |
- run: npm test |