Skip to content

shutting things down #18

shutting things down

shutting things down #18

name: cloudflare-ca-beta
on:
pull_request:
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
steps:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Checkout
uses: actions/checkout@master
- 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, '/package-lock.json')) }}
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- name: Build
run: npm run build
env:
NITRO_PRESET: cloudflare
REGION: CA
PROD: 'false'
- name: CA BETA Publish to Cloudflare
uses: cloudflare/wrangler-action@v2
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
wranglerVersion: '1.19.12'
environment: ca_beta
env:
PROD: 'false'
REGION: CA