New Crowdin translations by GitHub Action (#204) #133
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: DEV - Test build | |
on: | |
push: | |
branches: | |
- release | |
pull_request: | |
branches: | |
- release | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build - node 18 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: Install | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: install | |
- name: Build bundle | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: build | |
- name: Zip artifact | |
run: zip -q -r build.zip build | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build | |
path: ${{github.workspace}}/build.zip |