File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' coverage'
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+ jobs :
7+ postman :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ - name : Set npm token
12+ env :
13+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
14+ run : |
15+ echo "@linode:registry=https://npm.pkg.github.com/linode" > .npmrc
16+ echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" >> .npmrc
17+ echo '::set-output name=diff::1'
18+
19+ - name : Install Node
20+ run : |
21+ export NVM_DIR="$HOME/.nvm"
22+ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
23+ nvm install
24+ nvm use
25+ node -v
26+ npm install
27+
28+ - uses : actions/checkout@v4
29+ with :
30+ repository : linode/apl-core
31+
32+ - name : start core
33+ run : |
34+ cd apl-core
35+ npm run server > /dev/null 2>&1 &
36+ - name : start api
37+ run : |
38+ npm run dev
You can’t perform that action at this time.
0 commit comments