Skip to content

Commit

Permalink
ci(iswtg): this is the last time im doing this GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TasoOneAsia committed Jul 7, 2021
1 parent f0e99db commit 270b26b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: NPM Publisher
name: Prerelease Publisher
on:
push:
branches:
Expand Down Expand Up @@ -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
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/tagged-releases.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 270b26b

Please sign in to comment.