diff --git a/.github/workflows/build_test_and_check.yml b/.github/workflows/build_test_and_check.yml index fd6969fc..da640d2e 100644 --- a/.github/workflows/build_test_and_check.yml +++ b/.github/workflows/build_test_and_check.yml @@ -32,18 +32,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: '12.19.0' + node-version: '16.16.0' - uses: actions-rs/toolchain@v1 with: toolchain: stable - uses: jetli/wasm-pack-action@v0.3.0 with: - version: 'v0.9.1' + version: 'v0.10.3' - name: Install rollup - run: sudo npm install -g rollup@2.28.2 + run: sudo npm install -g rollup@2.77.2 - name: Compile WASM run: wasm-pack build thoth-app/ --target web --release - name: Pack APP @@ -56,18 +56,18 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: '12.19.0' + node-version: '16.16.0' - uses: actions-rs/toolchain@v1 with: toolchain: stable - uses: jetli/wasm-pack-action@v0.3.0 with: - version: 'v0.9.1' + version: 'v0.10.3' - name: Install rollup - run: sudo npm install -g rollup@2.28.2 + run: sudo npm install -g rollup@2.77.2 - name: Compile WASM run: wasm-pack build thoth-app/ --target web --release - name: Pack APP @@ -85,18 +85,18 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: '12.19.0' + node-version: '16.16.0' - uses: actions-rs/toolchain@v1 with: toolchain: stable - uses: jetli/wasm-pack-action@v0.3.0 with: - version: 'v0.9.1' + version: 'v0.10.3' - name: Install rollup - run: sudo npm install -g rollup@2.28.2 + run: sudo npm install -g rollup@2.77.2 - name: Compile WASM run: wasm-pack build thoth-app/ --target web --release - name: Pack APP @@ -114,7 +114,7 @@ jobs: format_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: toolchain: stable diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 72f0fa33..09c3fb4f 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -14,12 +14,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: false tags: openbookpublishers/thoth:latest diff --git a/.github/workflows/docker_build_and_push_to_dockerhub.yml b/.github/workflows/docker_build_and_push_to_dockerhub.yml index 6d4a03f9..382d043c 100644 --- a/.github/workflows/docker_build_and_push_to_dockerhub.yml +++ b/.github/workflows/docker_build_and_push_to_dockerhub.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags images: | @@ -23,17 +23,17 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: true tags: ${{ steps.meta.outputs.tags }} diff --git a/.github/workflows/docker_build_dev.yml b/.github/workflows/docker_build_dev.yml index c2b9046f..f1cbc978 100644 --- a/.github/workflows/docker_build_dev.yml +++ b/.github/workflows/docker_build_dev.yml @@ -17,12 +17,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: false tags: openbookpublishers/thoth:latest