Skip to content

Commit

Permalink
chore: add build step to ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Oct 19, 2022
1 parent 34540d2 commit d93ca81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: Run tests
name: Test, lint, build

on:
push:
branches:
- main
pull_request:

jobs:
build:
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: ubuntu-latest

steps:
Expand All @@ -23,6 +19,8 @@ jobs:

- run: yarn check-dts

- run: yarn build

- name: Run automated release process with semantic-release
if: github.event_name == 'push'
uses: cycjimmy/semantic-release-action@v2
Expand All @@ -34,8 +32,3 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

# - name: Report coverage to coveralls.io
# uses: coverallsapp/github-action@main
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Official [SweetAlert2](https://sweetalert2.github.io/) enhancer adding support for React elements as content.

[![Build Status](https://github.com/sweetalert2/sweetalert2-react-content/workflows/build/badge.svg)](https://github.com/sweetalert2/sweetalert2-react-content/actions)
[![Coverage Status](https://coveralls.io/repos/github/sweetalert2/sweetalert2-react-content/badge.svg?branch=main)](https://coveralls.io/github/sweetalert2/sweetalert2-react-content?branch=main)
[![npm version](https://img.shields.io/npm/v/sweetalert2-react-content.svg)](https://www.npmjs.com/package/sweetalert2-react-content)

[![semantic-release badge](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/sweetalert2/sweetalert2-react-content/blob/main/CHANGELOG.md)
Expand Down

0 comments on commit d93ca81

Please sign in to comment.