File tree 5 files changed +26
-26
lines changed
5 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 1
- name : Deploy docs
1
+ name : 🚀 Deploy docs
2
2
3
3
on :
4
4
release :
12
12
13
13
jobs :
14
14
test :
15
- name : Deploy docs
15
+ name : 🚀 Deploy docs
16
16
runs-on : ubuntu-20.04
17
17
steps :
18
18
- uses : actions/checkout@v4
19
19
20
- - name : Gather branch information
20
+ - name : 📋 Gather branch information
21
21
id : version_info
22
22
continue-on-error : true
23
23
run : |
@@ -26,15 +26,15 @@ jobs:
26
26
27
27
echo "We're running on version ${version}"
28
28
29
- - name : Append the current version to the introduction document
29
+ - name : 🛠️ Append the current version to the introduction document
30
30
run : |
31
31
sed -i "1 s|$| ${{ steps.version_info.outputs.version }}|" apidoc/introduction.md
32
32
33
- - name : Run apidoc
33
+ - name : 🏃🏼 Run apidoc
34
34
run : |
35
35
npx [email protected] -i . -f js -e node_modules
36
36
37
- - name : Deploy apidocs for git tags
37
+ - name : 🚀 Deploy apidocs for git tags
38
38
if : ${{ github.event_name == 'release' && github.event.action == 'published' }}
39
39
run : |
40
40
set -e
Original file line number Diff line number Diff line change 1
- name : Purge Pull Request Image
1
+ name : 🗑️ Purge Pull Request Image
2
2
3
3
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#registry_package
4
4
# Purge Pull Request Image
10
10
purge_pr_image :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - name : Purge Pull Request Image
13
+ - name : 💣 Purge Pull Request Image
14
14
15
15
with :
16
16
token : ${{ secrets.GHCR_TOKEN}}
Original file line number Diff line number Diff line change 1
- name : Purge untagged images
1
+ name : 🗑️ Purge untagged images
2
2
3
3
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#registry_package
4
4
# Run cleanup job if a new package was published or updated
9
9
purge_untagged_images :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - name : clean packages
12
+ - name : 🧹 clean packages
13
13
14
14
with :
15
15
token : ${{ secrets.GHCR_TOKEN}}
16
16
organization : ${{ github.repository_owner}}
17
17
container : ${{ github.event.repository.name }}
18
- untagged : true
18
+ prune- untagged : true
Original file line number Diff line number Diff line change 1
- name : Build and publish to Github Container Registry
1
+ name : 🏗️ Build and publish to Github Container Registry
2
2
3
3
on :
4
4
push :
@@ -20,17 +20,17 @@ jobs:
20
20
packages : write
21
21
22
22
steps :
23
- - name : Checkout repository
23
+ - name : ⬇️ Checkout repository
24
24
uses : actions/checkout@v4
25
25
26
- - name : Log in to the Container registry
26
+ - name : 🔑 Log in to the Container registry
27
27
28
28
with :
29
29
registry : ${{ env.REGISTRY }}
30
30
username : ${{ github.actor }}
31
31
password : ${{ secrets.GHCR_TOKEN }}
32
32
33
- - name : Extract metadata (tags, labels) for Docker
33
+ - name : 📋 Extract metadata (tags, labels) for Docker
34
34
id : meta
35
35
36
36
with :
40
40
prefix=
41
41
suffix=
42
42
43
- - name : Build and push Docker image
43
+ - name : 🐳 Build and push Docker image
44
44
45
45
with :
46
46
context : .
Original file line number Diff line number Diff line change 1
- name : Test and build
1
+ name : 👷🏼 Test and build
2
2
3
3
on :
4
4
push :
10
10
11
11
jobs :
12
12
lint :
13
- name : Lint code
13
+ name : 🔬 Lint code
14
14
runs-on : ubuntu-20.04
15
15
steps :
16
16
- uses : actions/checkout@v4
17
17
18
- - name : Install Node.js 16
18
+ - name : ⬣ Install Node.js
19
19
20
20
with :
21
- node-version : 16
21
+ node-version : 18
22
22
23
- - name : Get yarn cache directory path
23
+ - name : 📁 Get yarn cache directory path
24
24
id : yarn-cache-dir-path
25
25
run : |
26
26
echo "##[set-output name=dir;]$(yarn cache dir)"
27
27
28
- - name : Restore yarn cache
28
+ - name : 🔧 Restore yarn cache
29
29
30
30
id : yarn-cache
31
31
with :
@@ -34,20 +34,20 @@ jobs:
34
34
restore-keys : |
35
35
${{ runner.os }}-yarn-
36
36
37
- - name : Install project dependencies
37
+ - name : ⬇️ Install project dependencies
38
38
run : |
39
39
yarn --prefer-offline --pure-lockfile
40
40
41
- - name : Run eslint
41
+ - name : 🔬 Run eslint
42
42
run : |
43
43
yarn run lint:ci
44
44
45
45
test :
46
- name : Run tests
46
+ name : ⚡ Run tests
47
47
runs-on : ubuntu-20.04
48
48
steps :
49
49
- uses : actions/checkout@v4
50
50
51
- - name : Execute tests
51
+ - name : ⚡ Execute tests
52
52
run : |
53
53
yarn test
You can’t perform that action at this time.
0 commit comments