Skip to content

Commit

Permalink
Add autoprefixer workflow (hugo-toha#74)
Browse files Browse the repository at this point in the history
* Add node_modules in gitignore

* Add autoprefixer workflow
  • Loading branch information
hossainemruz committed Aug 21, 2020
1 parent 18a19d0 commit 1735b74
Show file tree
Hide file tree
Showing 12 changed files with 1,016 additions and 109 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/autoprefixer.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vscode/
.vscode/
node_modules/
Loading

0 comments on commit 1735b74

Please sign in to comment.