Add dual compatibility with Polymesh v6 and v7 #878
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: PR | |
on: [pull_request] | |
jobs: | |
lint: | |
name: Lint code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.14 | |
- name: Install dependencies | |
run: | | |
corepack enable | |
yarn install --immutable | |
env: | |
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'true' | |
- name: Lint | |
run: yarn lint | |
build-and-test: | |
name: Build and test e2e | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install node | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 18.14 | |
- name: Install dependencies | |
run: | | |
corepack enable | |
yarn install --immutable | |
env: | |
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'true' | |
- name: Build | |
run: yarn build | |
# - name: Run headful puppeteer tests | |
# uses: mujo-code/puppeteer-headful@16.6.0 | |
# with: | |
# args: yarn e2e | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: build | |
path: | | |
master-build.zip |