Skip to content

chore: stop contiuous deployment with cloudflare workers #38

chore: stop contiuous deployment with cloudflare workers

chore: stop contiuous deployment with cloudflare workers #38

Workflow file for this run

name: CI
on:
- push
jobs:
test:
name: 🔍 Testing
runs-on: ubuntu-latest
steps:
- 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: 🎭 Install Playwright
run: npx playwright install --with-deps
- name: 📦 Build the worker
run: npm run build
- name: 💣 Run some tests
run: npm run test
lint:
name: ⬣ Linting
runs-on: ubuntu-latest
steps:
- 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: ✨ Code format check
run: npx prettier --check .
- name: ✅ Code linting
run: npx eslint . --ext .js,.mjs,.ts,.tsx