Skip to content

Commit

Permalink
cache2-ts: publish on npm
Browse files Browse the repository at this point in the history
  • Loading branch information
abextm committed Mar 18, 2024
1 parent 27a4f34 commit 8489e91
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run test-all
- run: npm -w cache2-ts publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8489e91

Please sign in to comment.