Skip to content

chore(deps): bump graphql from 16.6.0 to 16.8.1 in /apps/profile (#2700) #310

chore(deps): bump graphql from 16.6.0 to 16.8.1 in /apps/profile (#2700)

chore(deps): bump graphql from 16.6.0 to 16.8.1 in /apps/profile (#2700) #310

name: Logbridge
on:
push:
branches:
- main
defaults:
run:
working-directory: platform/logbridge
jobs:
deploy:
runs-on: ubuntu-latest
environment: dev
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-build ../platform.nix
- name: Cache Dependencies
id: cache-modules
uses: actions/cache@v3
with:
path: |
node_modules
.yarn
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
- name: Install Dependencies
run: yarn install
- name: Test
run: yarn run test
- name: Deploy
uses: cloudflare/wrangler-action@2.0.0
with:
wranglerVersion: '3.2.0'
apiToken: ${{ secrets.TOKEN_CLOUDFLARE_API }}
accountId: ${{ secrets.INTERNAL_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: platform/logbridge
command: publish
secrets: |
INTERNAL_LOKI_USER
SECRET_LOKI_API_KEY
INTERNAL_LOKI_URL
SECRET_LOGPUSH_JOB_AUTHZ_KEY
env:
INTERNAL_LOKI_USER: ${{ secrets.INTERNAL_LOKI_USER }}
SECRET_LOKI_API_KEY: ${{ secrets.SECRET_LOKI_API_KEY }}
INTERNAL_LOKI_URL: ${{ secrets.INTERNAL_LOKI_URL }}
SECRET_LOGPUSH_JOB_AUTHZ_KEY: ${{ secrets.SECRET_LOGPUSH_JOB_AUTHZ_KEY }}