Skip to content

cdn.the-tractor.store >> blueprint.the-tractor.store #106

cdn.the-tractor.store >> blueprint.the-tractor.store

cdn.the-tractor.store >> blueprint.the-tractor.store #106

Workflow file for this run

name: main
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Run tests
run: npm run test
- name: Run lint
run: npm run lint
- name: Deploy to cloudflare
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}