steps:
- uses: actions/checkout@v3
- name: Set up node.js
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: "16"
+ cache: "npm"
- run: npm install
- name: Run prettier
run: |
steps:
- uses: actions/checkout@v3
- name: Set up node.js
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: "16"
+ cache: "npm"
- run: npm install
- name: Run prettier
run: |
strategy:
fail-fast: false
steps:
+ - uses: actions/checkout@v3
- name: Set up node.js
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: "16"
- - uses: actions/checkout@v3
+ cache: "npm"
- run: npm install
- run: npx tsc --noEmit
- name: Check that tslib is in sync.
strategy:
fail-fast: false
steps:
+ - uses: actions/checkout@v3
- name: Set up node.js
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: "16"
- - uses: actions/checkout@v3
+ cache: "npm"
- run: npm install
- run: npx eslint .
javascript_sync:
strategy:
fail-fast: false
steps:
+ - uses: actions/checkout@v3
- name: Set up node.js
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: "16"
- - uses: actions/checkout@v3
+ cache: "npm"
- run: npm install
- run: rm -r wcfsetup/install/files/js/WoltLabSuite/
- run: npx tsc