Merge pull request #487 from maxmind-zendesk-theme/dependabot/npm_and… #359
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |