Add autoprefixer workflow (#74)

* Add node_modules in gitignore

* Add autoprefixer workflow
This commit is contained in:
Emruz Hossain 2020-08-21 22:12:34 +06:00 committed by GitHub
parent 18a19d02d1
commit 1735b74f40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 1016 additions and 109 deletions

32
.github/workflows/autoprefixer.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: Autoprefixer
on:
push:
branches:
- master
jobs:
createPullRequest:
runs-on: ubuntu-latest
steps:
- name: Checkout to latest commit
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Run autoprefixer
run: |
npm install postcss-cli autoprefixer --save-dev
npm run autoprefixer
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: autoprefixer
branch-suffix: timestamp
title: "[Autoprefixer] Add vendor specific CSS prefixes"
body: This PR adds vendor specific CSS prefixes using [postcss/autoprefixer](https://github.com/postcss/autoprefixer). <br> <br> >This PR has been created automatically by Github Action [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).
labels: enhancements
reviewers:
- hossainemruz