Skip to content

Update node engine and fix TS issue ⚙️ #62

Update node engine and fix TS issue ⚙️

Update node engine and fix TS issue ⚙️ #62

Workflow file for this run

name: Deploy Cloudflare Worker
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16.13.0
cache: 'yarn'
- run: yarn install --frozen-lockfile
- name: Publish
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
secrets: |
UNSPLASH_ACCESS_KEY
TINIFY_API_KEY
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
UNSPLASH_ACCESS_KEY: ${{ secrets.UNSPLASH_ACCESS_KEY }}
TINIFY_API_KEY: ${{ secrets.TINIFY_API_KEY }}