Skip to content

Commit c8c2cfc

Browse files
committed
Add pipeline
1 parent f7db660 commit c8c2cfc

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish Package to npmjs
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3
11+
with:
12+
node-version: '19.x'
13+
registry-url: 'https://registry.npmjs.org'
14+
- run: npm install
15+
- run: npm publish
16+
env:
17+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "directus-extension-schema-sync",
33
"description": "The directus schema command but it avoids git conflicts",
44
"icon": "extension",
5-
"version": "1.0.0",
5+
"version": "0.9.0",
66
"keywords": [
77
"directus",
88
"directus-extension",

0 commit comments

Comments
 (0)