Bump @babel/traverse from 7.15.4 to 7.23.2 #149
Workflow file for this run
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 and Deploy | |
on: | |
push: | |
branches: | |
- 'master' | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
validate: | |
name: Validate Kubernetes configurations | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v2 | |
- name: Validate manifests | |
uses: instrumenta/kubeval-action@master | |
with: | |
files: etc | |
build: | |
name: Build and Audit | |
needs: validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v2 | |
- name: Installing dependencies | |
run: npm ci | |
- name: Build web components | |
run: npm run build:web | |
- name: Building bot | |
run: npm run build:bot | |
# Tests are not done on GitHub Actions to avoid polluting wiki CheckUser | |
# databases. | |
deploy: | |
name: Deploy to Toolforge | |
needs: build | |
if: github.ref_type == 'tag' || ( | |
github.event.pusher.name == 'ChlodAlejandro' | |
&& startsWith(github.event.head_commit.message, '[force]')) | |
runs-on: ubuntu-latest | |
environment: | |
name: toolforge | |
url: https://zoomiebot.toolforge.org | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install SSH Key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.TOOLFORGE_SSH_KEY }} | |
name: id_ed25519 | |
known_hosts: ${{ secrets.TOOLFORGE_KNOWN_HOSTS }} | |
config: ${{ secrets.TOOLFORGE_CONFIG }} | |
- name: Pull latest commit | |
run: ssh dev.toolforge.org \ | |
become zoomiebot \ | |
bash /data/project/zoomiebot/project/scripts/update.sh |