From bac35be4f1f17fcbd25644714e3a47c99bae9501 Mon Sep 17 00:00:00 2001 From: Dimi Kot Date: Fri, 12 Jan 2024 01:19:41 -0800 Subject: [PATCH] Add ci workflow --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6dcf806 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: "CI Full Run" +on: + pull_request: + branches: + - main + - grok/*/* + push: + branches: + - main +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: ["20.x"] + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm run build + - run: npm run test + - run: npm run lint