Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Apr 17, 2024
1 parent f65af56 commit 46dd291
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,20 @@ jobs:
build-job:
runs-on: ubuntu-latest
steps:
- { uses: actions/checkout@v4, with: { persist-credentials: false } }
- { uses: actions/setup-node@v4, with: { node-version: 'lts/*', cache: 'yarn' } }

- name: deps
run: yarn --frozen-lockfile

- name: build
run: yarn build

- name: test
run: |
curl -s -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter && chmod +x ./cc-test-reporter
./cc-test-reporter before-build
yarn test
./cc-test-reporter after-build -t lcov
- name: Adding markdown
run: echo '### Hello world! 🚀\nabc\nabc<br>abc<br>abc' >> $GITHUB_STEP_SUMMARY
# - { uses: actions/checkout@v4, with: { persist-credentials: false } }
# - { uses: actions/setup-node@v4, with: { node-version: 'lts/*', cache: 'yarn' } }
#
# - name: deps
# run: yarn --frozen-lockfile
#
# - name: build
# run: yarn build
#
# - name: test
# run: |
# curl -s -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter && chmod +x ./cc-test-reporter
# ./cc-test-reporter before-build
# yarn test
# ./cc-test-reporter after-build -t lcov

0 comments on commit 46dd291

Please sign in to comment.