From 57b26eae8844169924da8d704cd6f68ba2bd31aa Mon Sep 17 00:00:00 2001 From: carlosmiei <43336371+carlosmiei@users.noreply.github.com> Date: Fri, 7 Feb 2025 17:02:42 +0000 Subject: [PATCH] boilerplat github action --- .github/workflows/js.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/js.yml diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml new file mode 100644 index 00000000..f795d273 --- /dev/null +++ b/.github/workflows/js.yml @@ -0,0 +1,27 @@ +name: Js + +on: + workflow_dispatch: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + +permissions: + contents: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 2 + - uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + - name: Install npm dependencies + run: npm i --include=dev + - name: Test + run: npm run test \ No newline at end of file