Skip to content

Commit

Permalink
Add snapshot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Nov 11, 2024
1 parent caac428 commit 82916ca
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Snapshot

on: workflow_dispatch

jobs:
release:
name: Publish snapshot version
runs-on: ubuntu-latest
env:
CI: true
steps:
- name: Check out repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
cache: pnpm
node-version-file: package.json

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Publish
uses: seek-oss/changesets-snapshot@v0
env:
GITHUB_TOKEN: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 82916ca

Please sign in to comment.