nameczz 4 vuotta sitten
vanhempi
commit
5b6c8c4a80
1 muutettua tiedostoa jossa 20 lisäystä ja 0 poistoa
  1. 20 0
      .github/workflows/release.yml

+ 20 - 0
.github/workflows/release.yml

@@ -0,0 +1,20 @@
+on:
+  push:
+    branches:
+      - feature/cicd
+
+jobs:
+  publish:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Setup Node.js
+        uses: actions/setup-node@v1
+        with:
+          node-version: 12
+      - name: Install dependencies
+        run: yarn
+      - name: Semantic release
+        env:
+          GITHUB_TOKEN: ${{ secrets.P_GITHUB_TOKEN }}
+        run: npx semantic-release