mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
ci(iswtg): this is the last time im doing this GH actions
This commit is contained in:
1 parent
8498f91a1f
commit
4dd075a537
2 files changed
+5
-9
No files matched your search
@@ -1,4 +1,4 @@
|
||||
name: NPM Publisher
|
||||
name: Prerelease Publisher
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -36,8 +36,6 @@ jobs:
|
||||
node-version: '14.x'
|
||||
- name: Install dependencies
|
||||
run: yarn --frozen-lockfile
|
||||
- name: Run tests
|
||||
run: yarn test
|
||||
- name: Run build
|
||||
run: npm run build
|
||||
- name: Create Release
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
name: Tagged Release Publisher
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
tags:
|
||||
- "v*"
|
||||
jobs:
|
||||
create-tagged-release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
outputs:
|
||||
VERSION_TAG: v0.1.1-ci
|
||||
VERSION_TAG: ${{ steps.get_vars.outputs.VERSION_TAG }}
|
||||
steps:
|
||||
- name: Install archive tools
|
||||
run: sudo apt-get install zip gzip tar
|
||||
@@ -36,8 +36,6 @@ jobs:
|
||||
node-version: '14.x'
|
||||
- name: Install dependencies
|
||||
run: yarn --frozen-lockfile
|
||||
- name: Run tests
|
||||
run: yarn test
|
||||
- name: Run build
|
||||
run: npm run build
|
||||
- name: Bundle built files
|
||||
@@ -55,7 +53,7 @@ jobs:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
prerelease: false
|
||||
files: |
|
||||
npwd-${{ steps.get_vars.outputs.VERSION_TAG }}
|
||||
"npwd-${{ steps.get_vars.outputs.VERSION_TAG }}/"
|
||||
id: auto_release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in new issue
Block a user