From 7eda67597b993ce61f981bc901ac5ec517e1959f Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 02:08:45 +0000 Subject: [PATCH] fix: corrected credentials in GitHub Actions workf --- .github/workflows/workflow_file.yml | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/workflow_file.yml 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 }}