Fix license not localizing on language change #64
This file contains hidden or 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: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Add Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install Dependencies | |
| run: npm install | |
| - name: Run tests | |
| run: npm run test-headless | |
| - name: Deploy | |
| run: | | |
| git config user.name "GitHub Actions" | |
| git config user.email "github-actions@users.noreply.github.com" | |
| npm run deploy | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} |