Update Node.js to v20.15.0 (#230) #267
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Delivery | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.12.0" | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile --network-timeout 86400000 | |
working-directory: ./web | |
- name: Linting | |
run: yarn lint --fix | |
working-directory: ./web | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.12.0" | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile --network-timeout 86400000 | |
working-directory: ./web | |
- name: Unit Test | |
run: yarn test -u | |
working-directory: ./web | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.12.0" | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile --network-timeout 86400000 | |
working-directory: ./web | |
- name: Build Production | |
run: yarn build | |
working-directory: ./web |