Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release

on:
release:
types: [published]

permissions:
id-token: write
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
name: install pnpm
with:
run_install: false

- name: install node
uses: actions/setup-node@v4
with:
node-version: 22

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

- name: lint
run: pnpm /lint:/

- name: run tests
run: pnpm test

- name: build
run: pnpm build

- name: publish
run: pnpm publish --no-git-checks --access public
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Ori Livni
Copyright (c) Ori Livni

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading