Attempting to fix build error (#309) #190
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: E2E Tests | |
on: | |
push: | |
branches: [develop] | |
# You could test this CI job in a PR by uncommenting the below pull_request line. | |
# pull_request: | |
# branches: [develop] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
- name: Install dependencies | |
run: npm ci | |
- name: Install Playwright | |
run: npx playwright install --with-deps | |
- name: Run e2e tests | |
run: npm -w test run test:e2e | |
env: | |
TEST_URL: https://core.dev.console.pagoda.co | |
TEST_EMAIL: jon+e2e@near.org | |
TEST_PASSWORD: ${{ secrets.E2E_TEST_ACCOUNT_PASSWORD }} | |
TEST_CREATE_BLANK_PROJECT: "My Cool Project for E2E Testing" | |
TEST_CREATE_NFT_TUTORIAL_PROJECT: "My Cool NFT Project for E2E Testing" | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: test/playwright-report/ | |
retention-days: 14 |