Skip to content

Commit af06269

Browse files
committed
ci: updating CI requirements
1 parent ede2b44 commit af06269

File tree

6 files changed

+12
-23273
lines changed

6 files changed

+12
-23273
lines changed

.github/workflows/ci.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
steps:
1111
- uses: actions/setup-python@v4
1212
with:
13-
python-version: 3.7
13+
python-version: 3.9
1414
os_build:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
18-
os: [ ubuntu-latest, macos-latest ]
19-
python: [ 3.7, 3.8, 3.9 ]
20-
node: [ 14 ]
18+
os: [ ubuntu-latest ]
19+
python: [ 3.8, 3.9, "3.10", 3.11 ]
20+
node: [ 18, 20 ]
2121
env:
2222
SAM_CLI_TELEMETRY: "0"
2323
AWS_REGION: "us-east-1"
@@ -73,14 +73,13 @@ jobs:
7373
- uses: actions/setup-node@v3
7474
with:
7575
node-version: ${{ matrix.node }}
76-
cache: 'npm'
76+
cache: 'yarn'
7777
- name: Install Dependencies Node.js
7878
id: install_nodejs
7979
# Touch needed because of https://github.com/aws/aws-cli/issues/2639
8080
run: |
81-
npm ci --include=optional
82-
find ./node_modules/* -mtime +10950 -exec touch {} \;
83-
npm run build
81+
yarn install
82+
yarn build
8483
- uses: actions/cache@v3
8584
with:
8685
path: ~/.cache/pre-commit/
@@ -104,7 +103,7 @@ jobs:
104103
- name: Run Integration Tests
105104
id: integration_testing
106105
run: |
107-
RPDK_PACKAGE=$(npm pack --silent)
106+
RPDK_PACKAGE=$(yarn pack)
108107
RPDK_PATH=$PWD/$RPDK_PACKAGE
109108
DIR=TestCI
110109
mkdir $DIR

0 commit comments

Comments
 (0)