Skip to content

Commit faa2a70

Browse files
authored
Merge pull request #84 from code0-tech/migrate-node-playwright-to-mise
Migrate node-playwright to mise
2 parents b02cbaa + 383d665 commit faa2a70

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
include:
20-
- image: asdf
21-
tag_suffix: ''
20+
# asdf build-image is deprecated and not getting updated
21+
#- image: asdf
22+
# tag_suffix: ''
2223
- image: mise
2324
tag_suffix: ''
2425
- image: node-playwright
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
FROM ghcr.io/code0-tech/build-images/asdf:196.1
2-
SHELL ["/usr/bin/bash", "-lc"]
3-
4-
RUN asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
1+
FROM ghcr.io/code0-tech/build-images/mise:196.1
52

63
ARG NODE_VERSION
7-
RUN asdf install nodejs $NODE_VERSION
8-
RUN asdf shell nodejs $NODE_VERSION && npx playwright install-deps && npx playwright install
4+
RUN mise use -g node@$NODE_VERSION
5+
RUN npx playwright install-deps && npx playwright install

0 commit comments

Comments
 (0)