@@ -38,17 +38,16 @@ jobs:
38
38
39
39
- name : Install OSX Dependencies
40
40
if : ${{ contains(matrix.os, 'macos') }}
41
- shell : " bash"
42
41
run : |
43
42
brew install ninja flex bison automake autoconf-archive coreutils
44
43
if [[ $(uname -m) == 'arm64' ]]; then
45
- echo 'export PATH="/opt/homebrew/opt/flex/bin:$PATH"' >> /Users/runner/.bash_profile
46
- echo 'export PATH="/opt/homebrew/opt/bison/bin:$PATH"' >> /Users/runner/.bash_profile
44
+ echo 'export PATH="/opt/homebrew/opt/flex/bin:$PATH"' >> /Users/runner/.zshrc
45
+ echo 'export PATH="/opt/homebrew/opt/bison/bin:$PATH"' >> /Users/runner/.zshrc
47
46
else
48
- echo 'export PATH="/usr/local/opt/flex/bin:$PATH"' >> /Users/runner/.bash_profile
49
- echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> /Users/runner/.bash_profile
47
+ echo 'export PATH="/usr/local/opt/flex/bin:$PATH"' >> /Users/runner/.zshrc
48
+ echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> /Users/runner/.zshrc
50
49
fi
51
- source /Users/runner/.bash_profile
50
+ source /Users/runner/.zshrc
52
51
bison --version
53
52
54
53
- name : Export GitHub Actions cache environment variables
@@ -59,39 +58,34 @@ jobs:
59
58
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
60
59
61
60
- name : npm ci
62
- shell : " bash"
63
61
run : |
62
+ bison --version
64
63
npm ci
65
64
66
65
- name : npx playwright install
67
- shell : " bash"
68
66
run : |
67
+ bison --version
69
68
npx playwright install --with-deps
70
69
71
70
- name : install-build-deps
72
- shell : " bash"
73
71
run : |
74
72
bison --version
75
73
npm run install-build-deps
76
74
77
75
- name : Lint
78
- shell : " bash"
79
76
run : |
80
77
npm run lint
81
78
82
79
- name : Build
83
- shell : " bash"
84
80
run : |
85
81
npm run build
86
82
87
83
- name : Test
88
- shell : " bash"
89
84
run : |
90
85
npm run test
91
86
92
87
- name : Calculate Coverage
93
88
if : ${{ matrix.os == 'ubuntu-24.04' && matrix.node == 20 }}
94
- shell : " bash"
95
89
run : |
96
90
npm run coverage
97
91
0 commit comments