Skip to content

Commit

Permalink
Add actions for package publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
yarysh committed Aug 25, 2022
1 parent cb22fd2 commit 5bb8bee
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
File renamed without changes.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: publish
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.7.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aglio-theme-hiro

![Build status](https://github.com/yarysh/aglio-theme-hiro/actions/workflows/main.yml/badge.svg)
![Build status](https://github.com/yarysh/aglio-theme-hiro/actions/workflows/build.yml/badge.svg)
![Snyk](https://snyk.io/test/github/yarysh/aglio-theme-hiro/badge.svg)


Expand Down

0 comments on commit 5bb8bee

Please sign in to comment.