From 52c9701bfff652439ec1acbb74c812d3d6e1f00a Mon Sep 17 00:00:00 2001 From: Narek Hovhannisyan Date: Wed, 16 Aug 2023 15:16:47 +0400 Subject: [PATCH] .github: init nodejs-ci workflow. --- .github/workflows/nodejs-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/nodejs-ci.yml diff --git a/.github/workflows/nodejs-ci.yml b/.github/workflows/nodejs-ci.yml new file mode 100644 index 000000000..9bc8567fd --- /dev/null +++ b/.github/workflows/nodejs-ci.yml @@ -0,0 +1,23 @@ +name: Node.js CI + +on: push + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'yarn' + + - name: Install dependencies + run: yarn install + + - name: Run tests + run: yarn test