feat: Add translations and ci pipeline #1
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: CI/CD | |
on: push | |
jobs: | |
build: | |
runs-on: self-hosted | |
# if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Run npm install | |
run: npm install | |
- name: Run npm build | |
run: npm run build | |
- name: Run run release | |
run: npm run release | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_USERNAME: ${{ secrets.NEXUS_USER }} | |
NPM_PASSWORD: ${{ secrets.NEXUS_PASS }} | |
NPM_EMAIL: ${{ secrets.NEXUS_USER }} |