Skip to content

chore: spelling errors #4

chore: spelling errors

chore: spelling errors #4

Workflow file for this run

name: Cloudflare
on:
push:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Checkout
uses: actions/checkout@master
- name: Setup PNPM
uses: pnpm/action-setup@v2.2.4
with:
version: 8.10.2
- name: Cache node_modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/pnpm-lock.yaml')) }}
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pnpm i
- name: Build
run: pnpm build
env:
CF_WORKER: "1"
- name: Publish to Cloudflare
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: publish --node-compat