File tree 2 files changed +37
-0
lines changed
2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version : 2
7
+ updates :
8
+ - package-ecosystem : " npm" # See documentation for possible values
9
+ directory : " /" # Location of package manifests
10
+ schedule :
11
+ interval : " weekly"
Original file line number Diff line number Diff line change
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
+ # Setup .npmrc file to publish to npm
11
+ - uses : actions/setup-node@v3
12
+ with :
13
+ node-version : ' 22.x'
14
+ registry-url : ' https://registry.npmjs.org'
15
+ # - run: npm ci
16
+ - run : npm install
17
+ - run : npm run build
18
+ - run : npm publish
19
+ env :
20
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
21
+ - name : Archive production artifacts
22
+ uses : actions/upload-artifact@v3
23
+ with :
24
+ name : dist
25
+ path : |
26
+ dist
You can’t perform that action at this time.
0 commit comments