Migrate node-versions CI to GitHub Actions #31

Merged
MaksimZhukov merged 8 commits from main into main 2020-08-25 18:52:21 +05:00
MaksimZhukov commented 2020-08-25 16:22:24 +05:00 (Migrated from github.com)

In scope of this PR we've moved node-versions CI from AzureDevOps to GitHub Actions

Details:
The main goal of these changes is to switch the repository to use the system account to publish Node.js releases and create PRs with updating the versions-manifest.json file. For this purpose we use GITHUB_TOKEN which is automatically generated by GitHub. Example of PR created using a system account:
image

Unfortunately, we were not able to get rid of the personal access token completely. We have to authenticate using a personal access token to trigger workflow configured with the workflow_dispatch event.

GitHub Actions CI approach:
We've configured two workflows:

  • build-node-packages.yml - to build, test and publish Node.js packages
  • create-pr.yml - to create PRs with updating the versions-manifest.json file

All workflows are configured using the workflow_dispatch event and can be started manually, for example:
image

We did not move get-node-versions pipeline, it is still on the AzureDevOps

In scope of this PR we've moved node-versions CI from AzureDevOps to GitHub Actions **Details:** The main goal of these changes is to switch the repository to use the system account to publish Node.js releases and create PRs with updating the `versions-manifest.json` file. For this purpose we use `GITHUB_TOKEN` which is automatically generated by GitHub. Example of PR created using a system account: ![image](https://user-images.githubusercontent.com/46996400/91166033-5dd94300-e6da-11ea-8f1f-5d4d12c48a6b.png) Unfortunately, we were not able to get rid of the personal access token completely. We have to authenticate using a personal access token to trigger workflow configured with the `workflow_dispatch` event. **GitHub Actions CI approach:** We've configured two workflows: - `build-node-packages.yml` - to build, test and publish Node.js packages - `create-pr.yml` - to create PRs with updating the `versions-manifest.json` file All workflows are configured using the `workflow_dispatch` event and can be started manually, for example: ![image](https://user-images.githubusercontent.com/46996400/91168007-8c0c5200-e6dd-11ea-9120-d4012753a090.png) We did not move `get-node-versions` pipeline, it is still on the [AzureDevOps](https://github.visualstudio.com/virtual-environments/_build?definitionId=78)
dmitry-shibanov (Migrated from github.com) reviewed 2020-08-25 16:22:24 +05:00
miketimofeev (Migrated from github.com) reviewed 2020-08-25 16:22:24 +05:00
dibir-magomedsaygitov (Migrated from github.com) reviewed 2020-08-25 16:22:24 +05:00
maxim-lobanov (Migrated from github.com) approved these changes 2020-08-25 16:25:31 +05:00
vmapetr (Migrated from github.com) approved these changes 2020-08-25 16:27:55 +05:00
al-cheb (Migrated from github.com) approved these changes 2020-08-25 16:33:41 +05:00
nikita-bykov (Migrated from github.com) approved these changes 2020-08-25 16:40:11 +05:00
vsafonkin (Migrated from github.com) approved these changes 2020-08-25 16:40:35 +05:00
AlenaSviridenko (Migrated from github.com) approved these changes 2020-08-25 17:56:25 +05:00
Sign in to join this conversation.