Skip to content

Merge pull request #487 from maxmind-zendesk-theme/dependabot/npm_and… #359

Merge pull request #487 from maxmind-zendesk-theme/dependabot/npm_and…

Merge pull request #487 from maxmind-zendesk-theme/dependabot/npm_and… #359

Workflow file for this run

name: Build
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: '20'
- uses: zendesk/checkout@v4
- run: "npm ci && npm run build && npm run package"
- uses: zendesk/setup-ruby@v1
with:
ruby-version: '2.6'
- run: gem install faraday -v 0.16.0
- run: gem install faraday_middleware -v 0.13.1
- run: ruby ./.github/workflows/theme_upload.rb
env:
zendesk_email: ${{ secrets.EMAIL }}
zendesk_token: ${{ secrets.TOKEN }}
brand_id: ${{ secrets.BRAND_ID }}
subdomain: ${{ secrets.SUBDOMAIN }}