From f704c3a1e3d92f564bfe2174d53677b4e5789d9e Mon Sep 17 00:00:00 2001 From: Olek Dudek Date: Sun, 15 Oct 2023 12:13:35 +0200 Subject: [PATCH] Create npm.yml --- .github/workflows/npm.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/npm.yml diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml new file mode 100644 index 0000000..4a4c250 --- /dev/null +++ b/.github/workflows/npm.yml @@ -0,0 +1,19 @@ +name: Node.js CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '20.x' + - run: npm ci + - run: npm run storybook:build + - run: npm test + - run: npm run prepublishOnly