docs: ✏️ Update README file, release process #72
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 | |
on: | |
push: | |
branches: [release, main] | |
jobs: | |
build: | |
name: 'Build' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v3 | |
- name: Set up Node.js 🔨 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install dependencies 📦 | |
run: yarn install | |
- name: Compile typescrypt 🔥 | |
run: yarn typecheck | |
- name: Check code using eslint 👀 | |
run: yarn eslint | |
- name: Unit tests 🧪 | |
run: yarn run test:unit | |
component-tests: | |
name: 'Component tests' | |
runs-on: ubuntu-latest | |
#Wait for build to finish | |
needs: build | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v3 | |
- name: Set up Node.js 🔨 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
#TODO: Change this to use the package created at build | |
- name: Install dependencies 📦 | |
run: yarn install | |
- name: Cypress tests 🧪 | |
run: yarn run cypress:component-test |