diff --git a/.github/workflows/workflow_file.yml b/.github/workflows/workflow_file.yml new file mode 100644 index 00000000..69dee7ff --- /dev/null +++ b/.github/workflows/workflow_file.yml @@ -0,0 +1,32 @@ +name: Workflow Name +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: 14 + + - name: Install dependencies + run: npm ci + + - name: Run tests + run: npm test + + - name: Translate issue + uses: usthe/issues-translate-action@v2.7 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + translate_key: ${{ secrets.TRANSLATE_KEY }}