Release v5.5.1 #23
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: Smoke test | |
on: | |
push: | |
branches: | |
- main | |
env: | |
CI: true | |
jobs: | |
bootstrap: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Setup Git | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build | |
- name: Bootstrap application | |
run: ./node_modules/.bin/tramvai new smoke-bootstrap --type=app --template=multirepo --packageManager=npm --testingFramework=jest | |
- name: Install Playwright | |
working-directory: smoke-bootstrap | |
run: yarn playwright install --with-deps | |
- name: Build application | |
working-directory: smoke-bootstrap | |
run: yarn build | |
- name: Test:unit application | |
working-directory: smoke-bootstrap | |
run: yarn test | |
- name: Test:integration application | |
working-directory: smoke-bootstrap | |
run: yarn test:integration |