3333 with :
3434 node-version : ${{ matrix.node-version }}
3535 check-latest : true
36- - name : Test
37- run : |
38- set -xe
39- mkdir ~/.ssh_tests
40- chmod 700 ~/.ssh_tests
41- printf "%b" "Host *\n\tStrictHostKeyChecking no\n" > ~/.ssh_tests/config
42- cat test/id_rsa.pub > ~/.ssh_tests/id_rsa.pub
43- cat test/id_rsa.enc | base64 -d > ~/.ssh_tests/id_rsa
44- ls ~/.ssh_tests
45- chmod 600 ~/.ssh_tests/id_rsa*
46- git config --global user.name "John Doe"
47- git config --global user.email johndoe@example.com
48-
49- eval "$(ssh-agent -s)"
50- ssh-add ~/.ssh_tests/id_rsa
51-
52- npm install
53- npm test
5436
5537 mac-test :
5638 name : " test node ${{ matrix.node-version }} on macOS"
7153 with :
7254 node-version : ${{ matrix.node-version }}
7355 check-latest : true
74- - name : Test
75- run : |
76- set -xe
77- mkdir ~/.ssh_tests
78- chmod 700 ~/.ssh_tests
79- printf "%b" "Host *\n\tStrictHostKeyChecking no\n" > ~/.ssh_tests/config
80- cat test/id_rsa.pub > ~/.ssh_tests/id_rsa.pub
81- cat test/id_rsa.enc | base64 -d > ~/.ssh_tests/id_rsa
82- chmod 600 ~/.ssh_tests/id_rsa*
83- git config --global user.name "John Doe"
84- git config --global user.email johndoe@example.com
85-
86- eval "$(ssh-agent -s)"
87- ssh-add ~/.ssh_tests/id_rsa
88-
89- npm install
90- npm test
9156
9257 linux-arm-test :
9358 name : " test node ${{ matrix.node-version }} on linux-arm"
@@ -113,20 +78,3 @@ jobs:
11378 run : |
11479 sudo apt-get update
11580 sudo apt-get install -y software-properties-common git build-essential clang libssl-dev libkrb5-dev libc++-dev wget python3 zlib1g-dev
116- - name : Test
117- run : |
118- set -xe
119- mkdir ~/.ssh_tests
120- chmod 700 ~/.ssh_tests
121- printf "%b" "Host *\n\tStrictHostKeyChecking no\n" > ~/.ssh_tests/config
122- cat test/id_rsa.pub > ~/.ssh_tests/id_rsa.pub
123- cat test/id_rsa.enc | base64 -d > ~/.ssh_tests/id_rsa
124- chmod 600 ~/.ssh_tests/id_rsa*
125- git config --global user.name "John Doe"
126- git config --global user.email johndoe@example.com
127-
128- eval "$(ssh-agent -s)"
129- ssh-add ~/.ssh_tests/id_rsa
130-
131- npm install
132- npm test
0 commit comments