From 0c7b92760f215543355eaed5c1bcb2a8d34adb12 Mon Sep 17 00:00:00 2001 From: Denis Mishankov Date: Sun, 31 Jul 2022 17:46:01 +0300 Subject: [PATCH] Fix docker container (#37) --- .github/workflows/docker-publish.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 164cca2..7fed414 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -33,6 +33,20 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: "npm" + - name: Use wasm-pack + uses: jetli/wasm-pack-action@v0.3.0 + with: + version: "v0.10.2" + + - run: npm ci + - run: npm run lint + - run: npm run build --if-present + # Install the cosign tool except on PR # https://github.com/sigstore/cosign-installer - name: Install cosign