File tree 3 files changed +98
-0
lines changed
3 files changed +98
-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 : " " # 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
+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+ # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
+
4
+ name : Node.js Package
5
+
6
+ on :
7
+ release :
8
+ types : [created]
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - uses : actions/setup-node@v3
16
+ with :
17
+ node-version : 16
18
+ - run : npm ci
19
+ - run : npm test
20
+
21
+ publish-gpr :
22
+ needs : build
23
+ runs-on : ubuntu-latest
24
+ permissions :
25
+ contents : read
26
+ packages : write
27
+ steps :
28
+ - uses : actions/checkout@v3
29
+ - uses : actions/setup-node@v3
30
+ with :
31
+ node-version : 18
32
+ registry-url : ' https://registry.npmjs.org'
33
+ scope : " @21gram-consulting"
34
+ - run : npm ci
35
+ - run : npm run build
36
+ - run : npm publish
37
+ env :
38
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change
1
+ # Simple workflow for deploying static content to GitHub Pages
2
+ name : Deploy static content to Pages
3
+
4
+ on :
5
+ # Runs on pushes targeting the default branch
6
+ push :
7
+ branches : [master]
8
+
9
+ # Allows you to run this workflow manually from the Actions tab
10
+ workflow_dispatch :
11
+
12
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13
+ permissions :
14
+ contents : read
15
+ pages : write
16
+ id-token : write
17
+
18
+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19
+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20
+ concurrency :
21
+ group : " pages"
22
+ cancel-in-progress : false
23
+
24
+ jobs :
25
+ # Single deploy job since we're just deploying
26
+ deploy :
27
+ environment :
28
+ name : github-pages
29
+ url : ${{ steps.deployment.outputs.page_url }}
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - name : Checkout
33
+ uses : actions/checkout@v3
34
+ - name : Setup Pages
35
+ uses : actions/configure-pages@v3
36
+ - uses : actions/setup-node@v3
37
+ with :
38
+ node-version : 18
39
+ - run : |
40
+ npm ci
41
+ npm run doc
42
+ - name : Upload artifact
43
+ uses : actions/upload-pages-artifact@v1
44
+ with :
45
+ # Upload entire repository
46
+ path : ' ./docs'
47
+ - name : Deploy to GitHub Pages
48
+ id : deployment
49
+ uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments