diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml new file mode 100644 index 000000000..8bf198b23 --- /dev/null +++ b/.github/workflows/e2e-test.yml @@ -0,0 +1,29 @@ +name: Test + +on: + push: + branches: + - master + pull_request: + branches: '*' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: 18 + - name: Cache + uses: actions/cache@v4 + id: cache + with: + path: '**/node_modules' + key: yarn-v1-${{ hashFiles('**/yarn.lock') }} + - name: Install + run: yarn --immutable + if: steps.cache.outputs.cache-hit != 'true' + - name: E2E Test + run: yarn e2e-test