FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Exceptionless.JavaScript/.github/workflows/build.yml at v3.0.2 · exceptionless/Exceptionless.JavaScript · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
exceptionless
/
Exceptionless.JavaScript
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
22
Star
60
Code
Issues
0
Pull requests
11
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
Exceptionless.JavaScript
/
.github
/
workflows
/
build.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
64 lines (63 loc) · 2.19 KB
Breadcrumbs
Exceptionless.JavaScript
/
.github
/
workflows
/
build.yml
Copy path
File metadata and controls
64 lines (63 loc) · 2.19 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name
:
Build
on
:
[ push, pull_request ]
jobs
:
build
:
runs-on
:
${{ matrix.os }}
strategy
:
matrix
:
os
:
-
ubuntu-latest
-
macos-latest
-
windows-latest
node_version
:
-
18
name
:
Node ${{ matrix.node_version }} on ${{ matrix.os }}
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v3
with
:
fetch-depth
:
0
-
name
:
Build Reason
run
:
"
echo ref: ${{github.ref}} event: ${{github.event_name}}
"
-
name
:
Setup Node.js environment
uses
:
actions/setup-node@v3
with
:
node-version
:
${{ matrix.node_version }}
registry-url
:
'
https://registry.npmjs.org
'
-
name
:
Install latest NPM
run
:
npm install -g npm@9
-
name
:
Set Min Version
uses
:
Stelzi79/action-minver@3.0.1
id
:
version
with
:
minimum-major-minor
:
2.0
tag-prefix
:
v
-
name
:
Build Version
run
:
|
npm install --global replace-in-files-cli
replace-in-files --string="3.0.0-dev" --replacement=${{steps.version.outputs.version}} packages/core/src/configuration/Configuration.ts
replace-in-files --string="3.0.0-dev" --replacement=${{steps.version.outputs.version}} **/package*.json
npm install
-
name
:
Build
run
:
npm run build
-
name
:
Lint
run
:
npm run lint
-
name
:
Run Tests
run
:
npm test
-
name
:
Publish Release Packages
if
:
startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest'
run
:
npm publish --workspaces --access public
env
:
NODE_AUTH_TOKEN
:
${{secrets.NPM_TOKEN}}
-
name
:
Setup GitHub CI Node.js environment
if
:
github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest'
uses
:
actions/setup-node@v2
with
:
node-version
:
${{ matrix.node_version }}
registry-url
:
'
https://npm.pkg.github.com
'
scope
:
'
@exceptionless
'
-
name
:
Push GitHub CI Packages
if
:
github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest'
run
:
npm publish --workspaces --access public
env
:
NODE_AUTH_TOKEN
:
${{secrets.GITHUB_TOKEN}}
Back
|
FazBrowse Home
|
New Git URL