Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

chore(deps-dev): Bump pnpm from 7.6.0 to 7.33.4 #45

chore(deps-dev): Bump pnpm from 7.6.0 to 7.33.4

chore(deps-dev): Bump pnpm from 7.6.0 to 7.33.4 #45

Workflow file for this run

name: Build and Deploy Worker
on: push
jobs:
worker:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Use Node 16.15.1
uses: actions/setup-node@v2
with:
node-version: 16.15.1
- uses: pnpm/action-setup@v2.0.1
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Check syntax
run: npm run format && npm run lint
- name: Publish
uses: cloudflare/wrangler-action@1.3.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
secrets: |
AUTH_KEY
HASURA_ADMIN_SECRET
HASURA_ENDPOINT
env:
AUTH_KEY: ${{ secrets.AUTH_KEY }}
HASURA_ADMIN_SECRET: ${{ secrets.HASURA_ADMIN_SECRET }}
HASURA_ENDPOINT: ${{ secrets.HASURA_ENDPOINT }}