Skip to content

Commit

Permalink
Fix GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
direnakkoc committed Feb 24, 2023
1 parent c4d71d0 commit 706f983
Show file tree
Hide file tree
Showing 6 changed files with 16,256 additions and 10,313 deletions.
4 changes: 1 addition & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ module.exports = {
'@typescript-eslint'
],
extends: [
'standard',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended'
'standard'
],
rules: {
'@typescript-eslint/no-var-requires': 0, // todo remove later complains for all js modules
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,15 @@ jobs:

strategy:
matrix:
node-version: [14, 16, 18]
node-version: [18]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}.x
- name: Ensure npm >= 7
run: npm i -g npm@^7
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run audit
- run: npm test
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
Expand Down
4 changes: 2 additions & 2 deletions core/cf-template.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-redeclare */
'use strict'

import { filterObject } from './filter-object'
Expand All @@ -10,7 +11,6 @@ import { StreamProperties } from 'cloudform-types/types/kinesis/stream'
import { RuleProperties } from 'cloudform-types/types/events/rule'
import { ServiceProperties } from 'cloudform-types/types/ecs/service'
import { TableProperties } from 'cloudform-types/types/dynamoDb/table'
import { GraphQLApiProperties } from 'cloudform-types/types/appsync/graphQlApi'
import { RestApiProperties } from 'cloudform-types/types/apiGateway/restApi'
import { TargetGroupProperties } from 'cloudform-types/types/elasticLoadBalancingV2/targetGroup'
import { ListenerProperties } from 'cloudform-types/types/elasticLoadBalancingV2/listener'
Expand Down Expand Up @@ -44,7 +44,7 @@ export interface CloudFormationTemplate {

export type Statistic = 'Average'| 'Maximum'| 'Minimum'| 'SampleCount'| 'Sum' | 'p95'

export type Properties = TargetGroupProperties & ListenerProperties & ListenerRuleProperties & RestApiProperties & GraphQLApiProperties & TableProperties & ServiceProperties
export type Properties = TargetGroupProperties & ListenerProperties & ListenerRuleProperties & RestApiProperties & TableProperties & ServiceProperties
& RuleProperties & StreamProperties & FunctionProperties & TopicProperties & QueueProperties & StateMachineProperties & AlarmProperties & DashboardProperties

export default function CloudFormationTemplate (compiledTemplate: Template, additionalResources?: Resource | Resource[]): CloudFormationTemplate {
Expand Down
Loading

0 comments on commit 706f983

Please sign in to comment.