Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tobilg committed Sep 21, 2023
1 parent a5bfdcf commit 6afe64e
Show file tree
Hide file tree
Showing 3 changed files with 3,537 additions and 219 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
workflow_dispatch:

push:
tags:
- 'v*'

jobs:

checkout_and_create_new_version:
name:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- name: Publish new package version
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
# Publish new version to npm registry
npm publish
Loading

0 comments on commit 6afe64e

Please sign in to comment.