Skip to content

Commit

Permalink
add release
Browse files Browse the repository at this point in the history
  • Loading branch information
dzencot committed Feb 14, 2024
1 parent 8e79ce9 commit 55e0754
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: On Release

on:
push:
tags:
- v*

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Install
run: make install
- name: Run linter
run: make lint
- name: Run tests
run: make test
- name: Publish
run: |
npm config set //registry.npmjs.org/:_authToken ${{ secrets.npmjs_com }}
make publish

0 comments on commit 55e0754

Please sign in to comment.