Skip to content
Open

bb #11

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,21 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: set env
id: set-env
run: |
echo "target branch: ${{ github.base_ref }}"
case ${{ github.base_ref }} in
test) v=test ;;
staging) v=staging ;;
master) v=prod ;;
dev) v=dev ;;
*) v=not-found
esac
echo "name=env_name::canvas-$v" >> $GITHUB_OUTPUT
- name: test env
run: |
echo "output is: ${{steps.set-env.outputs.name}}"

- run: npm ci
- run: npm test