fix(.github): pin tailscale to 1.78.1 for deploy #153
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] | |
pull_request: | |
branches: [main] | |
jobs: | |
docs: | |
runs-on: "ubuntu-latest" | |
env: | |
SPIN_VERSION: v0.6.0 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install bart | |
run: | | |
curl -LOs https://github.com/fermyon/bartholomew/releases/download/v0.5.0/bart | |
chmod +x bart | |
mv bart /usr/local/bin | |
- name: Install spin | |
run: | | |
curl -LOs https://github.com/fermyon/spin/releases/download/${SPIN_VERSION}/spin-${SPIN_VERSION}-linux-amd64.tar.gz | |
tar zxvf spin-${SPIN_VERSION}-linux-amd64.tar.gz -C /usr/local/bin | |
chmod +x /usr/local/bin/spin | |
- name: Check site content | |
run: | | |
cd docs | |
npm run check-content | |
- name: Test site | |
run: | | |
cd docs | |
npm run test-server |