This commit is contained in:
17
.github/workflows/example1.yaml
vendored
17
.github/workflows/example1.yaml
vendored
@@ -8,10 +8,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup NodeJS
|
- name: Setup NVM
|
||||||
uses: actions/setup-node@v4
|
run: |
|
||||||
with:
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
||||||
node-version: '8.17.0'
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||||
|
which nvm
|
||||||
|
nvm install v8.17.0
|
||||||
|
nvm use
|
||||||
|
- name: Configure NVM again
|
||||||
|
run: |
|
||||||
|
nvm install node
|
||||||
|
nvm use node
|
||||||
- name: "Build & push Docker image"
|
- name: "Build & push Docker image"
|
||||||
uses: mr-smithers-excellent/docker-build-push@v6.3
|
uses: mr-smithers-excellent/docker-build-push@v6.3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user