add Localhost testing in readme #19
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: Build | |
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
name: Build all packages and run tests | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Set Yarn version to Berry | |
run: corepack prepare [email protected] --activate | |
- name: Install dependencies | |
run: yarn install | |
- name: Build auto-utils package 🔧 | |
run: yarn workspace @autonomys/auto-utils build | |
- name: Build all packages 🔧 | |
run: yarn build | |
- name: Run tests 🧪 | |
run: yarn test |