-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 822 Bytes
/
release.yml
File metadata and controls
27 lines (27 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Release datasync content store filesystem
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.x"
- name: Installing dependencies
run: npm install
- name: Build
run: npm run build-ts
- name: Publishing datasync content store filesystem
id: publish-to-npm
uses: JS-DevTools/npm-publish@v2.2.1
with:
token: ${{ secrets.NPM_TOKEN }}
- name: github-release
id: github-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.publish-to-npm.outputs.version }}
run: gh release create v"$VERSION" --title "Release $VERSION" --generate-notes