From 6a810cc78f84d1a5b9d1cd07fdcdd5f31d690841 Mon Sep 17 00:00:00 2001 From: Futago-za Ryuu Date: Fri, 15 Feb 2019 02:49:02 +0000 Subject: [PATCH] pegjs@dev should always run --- azure-pipelines.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e71983a..aff6ab6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,12 +42,14 @@ jobs: env: CC_TEST_REPORTER_ID: $(CC_TEST_REPORTER_ID) CODECOV_TOKEN: $(CODECOV_TOKEN) - afterAll: - - script: | - npm run build-dist - node tools/publish-dev - displayName: 'publish pegjs@dev' - env: - NPM_TOKEN: $(NPM_TOKEN) publish_test_results_to_pipelines: True publish_code_coverage_to_pipelines: True + +- template: node.yml@apt + parameters: + name: 'Publish pegjs@dev' + actions: + - script: npm run build-dist + - script: node tools/publish-dev + env: + NPM_TOKEN: $(NPM_TOKEN)