WIP: Feat/versioning #72
Workflow file for this run
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: 'Check: unit and e2e tests' | |
on: | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install Dependencies | |
run: pnpm install && pnpm build | |
- name: Run Tests(Browser) | |
run: pnpm test:browser | |
- name: Run Tests(Node) | |
#TODO: rename test to test:node to make sure it runs on node, so we have no test script | |
run: pnpm test | |
- name: Run E2E Tests | |
run: pnpm test:e2e |