diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 00000000..9a9316e1 --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,31 @@ +name: building, linting, testing +on: + push: + branches: [ tests/ci/git_checks_before_merge ] + pull_request: + branches: [ master ] +jobs: + pipeline: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [ 18.x ] + + steps: + - uses: actions/checkout@v2 + - name: Staring Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: install modules + run: npm install + - name: build production project + run: npm run build:prod + if: always() + - name: linting typescript & css + run: npm run lint + if: always() + - name: build storybook + run: npm run storybook:build + if: always() +