-
Notifications
You must be signed in to change notification settings - Fork 126
38 lines (35 loc) · 967 Bytes
/
docker-js.yml
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
on:
pull_request:
# Commented paths to avoid skipping required workflow
# See https://github.saobby.my.eu.orgmunity/t/feature-request-conditional-required-checks/16761
# paths:
# - .github/workflows/docker-js.yml
# - "**/*.go"
# - "chain/**"
# - "cmd/**"
# - "dot/**"
# - "internal/**"
# - "lib/**"
# - "pkg/**"
# - "tests/polkadotjs_test/**"
# - go.mod
# - go.sum
name: docker-js
jobs:
docker-polkadotjs-tests:
runs-on: buildjet-4vcpu-ubuntu-2204
env:
DOCKER_BUILDKIT: "1"
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1
with:
all_but_latest: true
- uses: docker/build-push-action@v5
with:
load: true
target: builder
tags: chainsafe/gossamer:test
- name: Run polkadotjs tests
run: |
docker run chainsafe/gossamer:test sh -c "make it-polkadotjs"