3333 directories : |
3434 /tmp/*-ipfs/**
3535 ./scripts/libp2p-relay-daemon
36+ ./types
3637 build : |
3738 ./scripts/custom-runtime.sh
3839
5051 directories : |
5152 /tmp/*-ipfs/**
5253 ./scripts/libp2p-relay-daemon
54+ ./types
5355 build : |
5456 ./scripts/custom-runtime.sh
5557 - run : |
7072 directories : |
7173 /tmp/*-ipfs/**
7274 ./scripts/libp2p-relay-daemon
75+ ./types
7376 build : |
7477 ./scripts/custom-runtime.sh
7578 - run : npm run test -- -t node
97100 directories : |
98101 /tmp/*-ipfs/**
99102 ./scripts/libp2p-relay-daemon
103+ ./types
100104 build : |
101105 ./scripts/custom-runtime.sh
102106 - run : npm run test -- -t ${{ matrix.type }} -- --browser ${{ matrix.browser }}
@@ -121,13 +125,15 @@ jobs:
121125 directories : |
122126 /tmp/*-ipfs/**
123127 ./scripts/libp2p-relay-daemon
128+ ./types
124129 build : |
125130 ./scripts/custom-runtime.sh
126131 - uses : GabrielBB/xvfb-action@v1
127132 with :
128133 run : npm run test -- -t ${{ matrix.type }} --bail -f dist/cjs/node-test/*js
129134
130135 release :
136+ needs : build
131137 # needs: [test-node, test-browser, test-electron]
132138 runs-on : ubuntu-latest
133139 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
@@ -140,12 +146,15 @@ jobs:
140146 directories : |
141147 /tmp/*-ipfs/**
142148 ./scripts/libp2p-relay-daemon
149+ ./types
143150 build : |
144151 ./scripts/custom-runtime.sh
145152 - uses : actions/setup-node@v2
146153 with :
147154 node-version : lts/*
148- - run : npm run --if-present release
155+ - run : |
156+ npm run --if-present release
157+ working-directory: ${{ env.GITHUB_WORKSPACE }}
149158 env:
150159 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
151160 NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments