We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93bb73d commit 464750eCopy full SHA for 464750e
.github/workflows/publish.yml
@@ -8,13 +8,26 @@ jobs:
8
build:
9
runs-on: ubuntu-latest
10
steps:
11
- - name: Checkout
+ - name: Checkout the current code
12
uses: actions/checkout@v4
13
with:
14
ref: ${{ github.event.release.tag_name }}
15
- - name: Install deps and build
16
- run: npm ci && npm run build
17
- - uses: teunmooij/[email protected]
+
+ - name: Configure the runtime node
+ uses: actions/setup-node@v4
18
+ with:
19
+ cache: npm
20
+ cache-dependency-path: package-lock.json
21
+ node-version-file: .nvmrc
22
23
+ - name: Install project dependencies
24
+ run: npm ci
25
26
+ - name: Build a production release
27
+ run: npm run build
28
29
+ - name: Distribute the latest tagged release
30
+ uses: teunmooij/[email protected]
31
32
exclude: LICENSE
33
template: javascript-action
0 commit comments