From 562d1eb8f1d318a676f4f7e6757e7916909a7755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ven=C3=A2ncio?= Date: Wed, 7 Apr 2021 23:27:10 +0100 Subject: [PATCH] fix action --- .github/workflows/publish.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d42d519..9a9efca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,11 +15,22 @@ jobs: steps: - name: checkout uses: actions/checkout@v2 + - name: node uses: actions/setup-node@v1 with: node-version: 12 registry-url: https://registry.npmjs.org + + - name: Install deps and build (with cache) + uses: bahmutov/npm-install@v1 + + - name: Lint + run: yarn lint + + - name: Build + run: yarn build + - name: publish run: npm publish --access public env: