@@ -12,32 +12,21 @@ jobs:
1212 build :
1313 strategy :
1414 matrix :
15- os : [ubuntu-20.04 ]
16- node-version : [20.16.0 ]
15+ os : [macos-14 ]
16+ node-version : [20.x ]
1717
1818 runs-on : ${{ matrix.os }}
1919
2020 steps :
21- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v4
2222 - name : Use Node.js ${{ matrix.node-version }}
23- uses : actions/setup-node@v2
23+ uses : actions/setup-node@v4
2424 with :
25+ cache : ' npm'
2526 node-version : ${{ matrix.node-version }}
2627
27- - name : Get yarn cache directory path
28- id : yarn-cache-dir-path
29- run : echo "::set-output name=dir::$(yarn cache dir)"
30-
31- - uses : actions/cache@v2
32- with :
33- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
34- key : ${{ runner.os }}-yarn-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
35- restore-keys : |
36- ${{ runner.os }}-yarn-${{ matrix.node-version }}
37-
38- - run : sudo apt update && sudo apt install -y libkrb5-dev
39- - run : yarn --frozen-lockfile
40- - run : yarn build:vscode
41- - run : yarn yalc && yarn build
28+ - run : npm install && cd vscode-web && npm install
29+ - run : cd vscode-web && npm run clone && npm run build
30+ - run : npm run link & npm run build
4231 - uses : microsoft/playwright-github-action@v1
43- - run : GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} yarn test:ci
32+ - run : GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} npm run test:ci
0 commit comments