Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed Apr 19, 2024
1 parent cea2e30 commit 999324b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish and release

on:
push:
branches: [main]

jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['16.x']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org
- uses: bahmutov/npm-install@v1
with:
useLockFile: false
- uses: changesets/action@master
with:
title: Release
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 999324b

Please sign in to comment.