Skip to content

Commit

Permalink
chore: fix codegen for new node version format
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerntannern committed Feb 20, 2024
1 parent 4240ec5 commit d12e9be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codegen.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ const { resolve } = require('path');
const { load } = require('js-yaml');

const main = () => {
const ciYaml = loadYaml(resolve(__dirname, '.github/workflows/CI.yml'))
const ciYaml = loadYaml(resolve(__dirname, '.github/workflows/CI.yml'));
const tsVersions = ciYaml.jobs.test.strategy.matrix['typescript-version'].map(version => version.replace('.x', '')).join(',');
const nodeVersions = ciYaml.jobs.test.strategy.matrix['node-version'].map(version => version.replace('.x', '')).join('%2C');
const nodeVersions = ciYaml.jobs.test.strategy.matrix['node-version'].join('%2C');

replaceInFileInline(
resolve(__dirname, 'README.md'),
Expand Down

0 comments on commit d12e9be

Please sign in to comment.