mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
ci: make things just work
This commit is contained in:
parent
8b018db9f8
commit
bdfdb3da8b
2 changed files with 8 additions and 2 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -22,10 +22,18 @@ jobs:
|
|||
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel"
|
||||
chmod +x "${GITHUB_WORKSPACE}/bin/bazel"
|
||||
|
||||
- name: Sync
|
||||
run: |
|
||||
"${GITHUB_WORKSPACE}/bin/bazel" sync
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
"${GITHUB_WORKSPACE}/bin/bazel" test //src/...
|
||||
|
||||
- name: Docker Login
|
||||
run: |
|
||||
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
|
||||
|
||||
- name: Publish Artifacts
|
||||
run: |
|
||||
"${GITHUB_WORKSPACE}/bin/bazel" query //src/... |\
|
||||
|
|
|
@ -57,9 +57,7 @@ gazelle_dependencies()
|
|||
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")
|
||||
|
||||
node_repositories(
|
||||
node_version = "14.9.0",
|
||||
package_json = ["//:package.json"],
|
||||
yarn_version = "1.22.4",
|
||||
)
|
||||
|
||||
### DOCKER/CONTAINER
|
||||
|
|
Loading…
Add table
Reference in a new issue