diff --git a/.github/workflows/publish-to-npm.yaml b/.github/workflows/publish-to-npm.yaml index 43999c4..5429ef5 100644 --- a/.github/workflows/publish-to-npm.yaml +++ b/.github/workflows/publish-to-npm.yaml @@ -10,6 +10,13 @@ jobs: uses: actions/checkout@v4 with: ref: main + - uses: actions/setup-node@v3 + with: + node-version: '18' + registry-url: 'https://registry.npmjs.org' + - id: generate-a-version-patch + name: 'Generate version patch for later' + run: npm version patch - id: pull-latest-schema-files name: 'Get latest schema files' uses: actions/checkout@v4 @@ -23,10 +30,6 @@ jobs: - id: copy-remaining-schema-files name: 'Copy remaining schema files' run: cp -r schema/* . - - uses: actions/setup-node@v3 - with: - node-version: '18' - registry-url: 'https://registry.npmjs.org' - id: generate-types name: 'Generate the typescript types' run: | @@ -49,5 +52,5 @@ jobs: name: 'Commit bumped up version' run: | git status - git log + git log --oneline -n 10 git tag \ No newline at end of file diff --git a/package.json b/package.json index 06d6f21..d31e450 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "google-workspace-addon-typescript", - "version": "1.0.1", + "version": "1.0.4", "description": "Google Workspace Addon typescript types", "repository": "https://github.com/cmxiv/google-workspace-addon-json-schema", "author": "Siddhant Tandon ",