Bump es5-ext from 0.10.62 to 0.10.64 #456
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
permissions: | |
actions: write | |
contents: read | |
jobs: | |
test: | |
name: π§ͺ Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: β¬οΈ Checkout repo | |
uses: actions/checkout@v3 | |
- name: β Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: π₯ Download deps | |
uses: bahmutov/npm-install@v1 | |
with: | |
useLockFile: false | |
- name: π¬ Lint | |
run: npm run lint | |
- name: π Type check | |
run: npm run typecheck | |
- name: β‘ Run vitest | |
run: npm run test | |
cypress: | |
name: β«οΈ Cypress | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: β¬οΈ Checkout repo | |
uses: actions/checkout@v3 | |
- name: π Copy test env vars | |
run: cp .env.example .env | |
- name: β Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: π₯ Download deps | |
uses: bahmutov/npm-install@v1 | |
with: | |
useLockFile: false | |
- name: π Setup Database | |
# db:start only starts the kong and postgrest containers. | |
run: npm run db:start | |
- name: βοΈ Build | |
run: npm run build | |
- name: π³ Cypress run | |
uses: cypress-io/github-action@v5 | |
with: | |
# TODO: use npm start instead | |
start: npm run dev | |
wait-on: "http://localhost:8811" | |
env: | |
CYPRESS_IS_CI: "true" | |
PORT: "8811" | |
BASE_URL: "http://localhost:8811" | |
SUPABASE_URL: ${{ secrets.SUPABASE_URL }} | |
SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }} | |
SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }} |