diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index f86fdf12..3ec0d6ab 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -14,17 +14,21 @@ on: - '**/*.gitignore' - .editorconfig - docs/** + push: + branches: + - develop + env: APP_NAME: 'rs-compiler' concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.ref }} cancel-in-progress: true jobs: lint: name: Lint code - if: github.event.pull_request.draft == false + if: github.event.pull_request.number == null || !github.event.pull_request.draft runs-on: ubuntu-latest steps: @@ -39,7 +43,7 @@ jobs: format: name: Format code - if: github.event.pull_request.draft == false + if: github.event.pull_request.number == null || !github.event.pull_request.draft runs-on: ubuntu-latest steps: @@ -54,7 +58,7 @@ jobs: test: name: Run tests - if: github.event.pull_request.draft == false + if: github.event.pull_request.number == null || !github.event.pull_request.draft runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 26347cdc..5af7c8ae 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# StyleX in Rust · [![GitHub license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/Dwlad90/stylex-swc-plugin/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/@stylexswc/swc-plugin.svg?style=flat)](https://www.npmjs.com/package/@stylexswc/swc-plugin) ![GitHub tag check runs](https://img.shields.io/github/check-runs/Dwlad90/stylex-swc-plugin/0.5.1?label=Release%20status) +# StyleX in Rust · [![GitHub license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/Dwlad90/stylex-swc-plugin/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/@stylexswc/swc-plugin.svg?style=flat)](https://www.npmjs.com/package/@stylexswc/swc-plugin) ![GitHub tag check runs](https://img.shields.io/github/check-runs/Dwlad90/stylex-swc-plugin/0.5.1?label=Release%20status) ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Dwlad90/stylex-swc-plugin/pr-validation.yml?branch=develop&label=Project%20Health) This is a monorepo for an unofficial [`napi-rs`](https://napi.rs/) compiler and an [SWC](https://swc.rs/) plugin for