Skip to content

Commit

Permalink
Update CI to use recentish version of node
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Jan 6, 2024
1 parent f0d3b61 commit b950d23
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '18'

- name: Cache node modules
id: cache-node-modules
Expand All @@ -41,17 +42,19 @@ jobs:
max_attempts: 3
command: yarn install

# Build

# TODO: add build check

- name: Lint
run: yarn lint
run: npm run lint

- name: Prettier
run: yarn prettier:check
run: npm run prettier:check

- name: Test
run: yarn test
run: npm run test

- name: Spell check
uses: streetsidesoftware/cspell-action@v5
with:
files: src/**/*.{ts,tsx}

# TODO: add webpack checks
- name: Build
run: npm run build-production

0 comments on commit b950d23

Please sign in to comment.