Skip to content

Commit 64dc9bc

Browse files
committed
chore: Add release-drafter github action.
1 parent b08ec46 commit 64dc9bc

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
jobs:
17+
common:
18+
uses: TokTok/ci-tools/.github/workflows/common-ci.yml@master
19+
1720
build:
1821
runs-on: ubuntu-latest
1922

2023
strategy:
2124
matrix:
22-
node-version: [12.x, 13.x, 20.x]
25+
node-version: [12.x, 13.x]
2326

2427
steps:
2528
- uses: actions/checkout@v2
@@ -48,14 +51,14 @@ jobs:
4851
- run: npm run test
4952
- run: npm run report-coverage
5053
- run: npm run format && git checkout package-lock.json && git diff --exit-code
51-
if: ${{ matrix.node-version == '20.x' }}
54+
if: ${{ matrix.node-version == '14.x' }}
5255

5356
docker:
5457
runs-on: ubuntu-latest
5558
steps:
5659
- name: Set up Docker Buildx
57-
uses: docker/setup-buildx-action@v1
60+
uses: docker/setup-buildx-action@v3
5861
- name: Docker Build
59-
uses: docker/build-push-action@v2
62+
uses: docker/build-push-action@v6
6063
with:
6164
tags: toxchat/js-toxcore-c:latest

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: release
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request_target:
7+
branches: [master]
8+
types: [opened, reopened, synchronize]
9+
10+
jobs:
11+
release:
12+
uses: TokTok/ci-tools/.github/workflows/release-drafter.yml@master

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.19.0
1+
FROM alpine:3.13.0
22

33
RUN ["apk", "add", "--no-cache", \
44
"cmake", \
@@ -27,8 +27,8 @@ RUN ["cmake", "--build", "_build", "--target", "install"]
2727

2828
WORKDIR /work/js-toxcore-c
2929
COPY . /work/js-toxcore-c/
30-
ENV LD_LIBRARY_PATH=/usr/local/lib
31-
RUN ["ls", "-lh", "/usr/local/lib/libtoxcore.so.2"]
30+
ENV LD_LIBRARY_PATH=/usr/local/lib64
31+
RUN ["ls", "-lh", "/usr/local/lib64/libtoxcore.so.2"]
3232
RUN ["npm", "install"]
3333
RUN ["npm", "run", "doc"]
3434
RUN ["npm", "run", "test"]

0 commit comments

Comments
 (0)