fix: fix #104
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linting, testing, building | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
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: yarn | |
# - name: build production project | |
# if: always() | |
# run: yarn build:prod | |
# - name: linting typescript | |
# if: always() | |
# run: yarn lint:code:check | |
# - name: linting css | |
# if: always() | |
# run: yarn lint:style:check | |
# - name: unit testing | |
# if: always() | |
# run: yarn test:unit | |
# - name: build storybook | |
# if: always() | |
# run: yarn sb:build | |
# | |
# - name: screenshot testing | |
# if: always() | |
# run: yarn test:ui:ci | |
# - name: Archive code coverage results | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: screen | |
# path: .loki/ | |
# - name: Download a single artifact | |
# uses: actions/download-artifact@v3 | |
# with: | |
# name: screen |