Skip to content

Commit

Permalink
Add release workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Oct 2, 2023
1 parent 9b224ec commit f785f3b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on: [push]

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.GH_TOKEN }}

- name: Prepare repository
# Fetch full git history and tags
run: git fetch --unshallow --tags

- name: Install dependencies
run: yarn install --ignore-scripts

- name: Create Release
run: yarn run release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit f785f3b

Please sign in to comment.