Skip to content

Fix history extension mid mutation skip #220

Fix history extension mid mutation skip

Fix history extension mid mutation skip #220

Workflow file for this run

name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build_and_test:
name: Build and Test Harlem
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Prepare NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.x
# Get yarn cache directory path
- name: Get Yarn Cache Path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
# Node module and yarn cache
- name: Yarn Cache
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-harlem-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-harlem-
- name: Install Dependencies
run: yarn install
- name: Run Build
run: yarn build
- name: Run Tests
run: yarn test
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: |
core/dist/
extensions/**/dist/
packages/**/dist/
plugins/**/dist/
# - name: Report Test Results
# uses: dorny/test-reporter@v1
# if: success() || failure()
# with:
# name: Test Results
# path: test-results.xml
# reporter: jest-junit
- name: Upload Test Results
uses: actions/upload-artifact@v3
with:
name: test-results
path: test-results.xml