Skip to content

Commit

Permalink
Fix syntax error in TS GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmanc authored Jan 31, 2023
1 parent b5c6469 commit 8a4ef22
Showing 1 changed file with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

name: TypeScript Node.js CI

defaults:
run:
working-directory: exercises/typescript

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

defaults:
run:
working-directory: exercises/typescript

jobs:
build:

Expand All @@ -24,13 +24,14 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: 'exercises/typescript/package-lock.json'
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: 'exercises/typescript/package-lock.json'
- run: npm ci
- run: npm run build --if-present
- run: npm test

0 comments on commit 8a4ef22

Please sign in to comment.