浏览代码

Uncomment auto-prefixer workflow

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
hossainemruz 4 年之前
父节点
当前提交
2e61e36fad
共有 1 个文件被更改,包括 31 次插入31 次删除
  1. 31 31
      .github/workflows/autoprefixer.yml

+ 31 - 31
.github/workflows/autoprefixer.yml

@@ -1,35 +1,35 @@
-# name: Autoprefixer
-# on:
-#   push:
-#     branches:
-#       - main
-# jobs:
-#   autoprefixer:
-#     runs-on: ubuntu-latest
-#     steps:
-#       - name: Checkout to latest commit
-#         uses: actions/checkout@v2.3.4
+name: Autoprefixer
+on:
+  push:
+    branches:
+      - main
+jobs:
+  autoprefixer:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout to latest commit
+        uses: actions/checkout@v2.3.4
 
 
-#       - name: Setup Node
-#         uses: actions/setup-node@v2.1.5
-#         with:
-#           node-version: "15.x"
+      - name: Setup Node
+        uses: actions/setup-node@v2.1.5
+        with:
+          node-version: "15.x"
 
 
-#       - name: Run autoprefixer
-#         run: |
-#           npm install postcss-cli autoprefixer --save-dev
-#           npm run autoprefixer
+      - 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.8.2
-#         with:
-#           branch: autoprefixer
-#           branch-suffix: timestamp
-#           commit-message: add vendor specific css prefixes
-#           title: "Update and run autoprefixer"
-#           body: |
-#             This PR runs [postcss/autoprefixer](https://github.com/postcss/autoprefixer) to update vendor specific CSS prefixes.
+      - name: Create Pull Request
+        uses: peter-evans/create-pull-request@v3.8.2
+        with:
+          branch: autoprefixer
+          branch-suffix: timestamp
+          commit-message: add vendor specific css prefixes
+          title: "Update and run autoprefixer"
+          body: |
+            This PR runs [postcss/autoprefixer](https://github.com/postcss/autoprefixer) to update vendor specific CSS prefixes.
 
 
-#             >This PR has been created automatically by Github Action [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).
-#           labels: "enhancement,automerge"
-#           reviewers: hossainemruz
+            >This PR has been created automatically by Github Action [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).
+          labels: "enhancement,automerge"
+          reviewers: hossainemruz