File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 with :
2929 node-version : ${{ matrix.node-version }}
3030
31+ # DO NOT USE pnpm here, it will cause issues with Docker build
3132 - name : Install Dependencies
3233 run : npm install
3334
Original file line number Diff line number Diff line change @@ -18,12 +18,19 @@ jobs:
1818 with :
1919 node-version : 22
2020
21+ # DO NOT USE pnpm here, it will cause issues with Docker build
2122 - name : Install Dependencies
22- run : npm install
23+ run : npm install
24+
25+ - name : Install pnpm
26+ run : npm install -g pnpm
2327
2428 - name : Build
2529 run : npm run build
2630
31+ - name : Set version variable
32+ run : echo "VERSION=$(node -p \"require('./package.json').version\")" >> $GITHUB_ENV
33+
2734 - name : Set up Docker Buildx
2835 uses : docker/setup-buildx-action@v3
2936
3744 uses : docker/build-push-action@v5
3845 with :
3946 push : true
40- tags : jaredwray/mockhttp:${{ github.event.release.tag_name }}
47+ tags : jaredwray/mockhttp:${{ env.VERSION }}
4148
4249 - name : Build and push Docker image as Latest
4350 uses : docker/build-push-action@v5
You can’t perform that action at this time.
0 commit comments