From 934c7af84995529fe6bc45e65d737f29ce62ce86 Mon Sep 17 00:00:00 2001 From: Victor Cuena Garcia Date: Tue, 8 Aug 2023 18:24:29 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0e53dc7..a6b295b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,11 +12,9 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - uses: ./.github/workflows/build.yml - with: - node-version: 18.x + - uses: ./.github/workflows/build.yml@main - name: Deploy package if: github.ref == 'refs/heads/main' run: npm publish --dry-run env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}