FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
contentstack-cli-tsgen/.github/workflows/node.js.yml at master · contentstack/contentstack-cli-tsgen · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Aug 21, 2026. It is now read-only.
contentstack
/
contentstack-cli-tsgen
Public archive
Notifications
You must be signed in to change notification settings
Fork
6
Star
11
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
contentstack-cli-tsgen
/
.github
/
workflows
/
node.js.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
36 lines (31 loc) · 1.17 KB
Breadcrumbs
contentstack-cli-tsgen
/
.github
/
workflows
/
node.js.yml
Copy path
File metadata and controls
36 lines (31 loc) · 1.17 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
28
29
30
31
32
33
34
35
36
#
This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
#
For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name
:
Node.js CI
on
:
push
:
branches
:
[master, development, staging]
pull_request
:
branches
:
[master, development, staging]
jobs
:
build
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
node-version
:
[22.x]
steps
:
-
uses
:
actions/checkout@v3.5.3
-
name
:
Use Node.js ${{ matrix.node-version }}
uses
:
actions/setup-node@v3.7.0
with
:
node-version
:
${{ matrix.node-version }}
-
run
:
npm ci
-
run
:
npm run build --if-present
-
run
:
npm i -g @contentstack/cli
-
run
:
csdx config:set:region ${{secrets.REGION}}
-
run
:
csdx auth:tokens:add -a ${{ secrets.TOKEN_ALIAS }} --delivery -k ${{ secrets.APIKEY }} --token ${{ secrets.DELIVERYKEY }} -e ${{ secrets.ENVIRONMENT }}
-
run
:
npm run prepack
-
run
:
csdx plugins:link
-
run
:
npm test
env
:
TOKEN_ALIAS
:
${{ secrets.TOKEN_ALIAS }}
-
run
:
csdx plugins:unlink
Back
|
FazBrowse Home
|
New Git URL