Skip to content

Commit

Permalink
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish-templates.yml
Original file line number Diff line number Diff line change
@@ -16,10 +16,13 @@ jobs:
with:
node-version: 16
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
cache-dependency-path: '**/package-lock.json'

- name: Setup NPM version
run: npm install -g npm@8

- name: Publish templates
run: templates/scripts/publish_templates.sh ${{secrets.NPM_TOKEN}}
run: templates/scripts/publish_templates.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 0 additions & 2 deletions templates/scripts/publish_templates.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/bash
set -e

NODE_AUTH_TOKEN=$1

templates_location="$(dirname $(readlink -e $0))/.."

for template in "$templates_location"/*-template-*; do

0 comments on commit ca6a035

Please sign in to comment.