diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23bf6f3..ca47c6b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,19 +8,25 @@ on: jobs: release: - name: 🚀 tailgrids release + name: 🚀 lineicons release runs-on: ubuntu-latest steps: - name: 📚 checkout uses: actions/checkout@v4 - - name: 🟢 node + + - name: 🟢 setup node uses: actions/setup-node@v4 with: - node-version: 12 + node-version: 20 registry-url: https://registry.npmjs.org + - name: installing packages run: npm ci + + - name: 📦 build + run: npm run build --if-present + - name: 🚀 publish run: npm publish --access public env: - NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}