Skip to content

Commit

Permalink
add temporary step in nodejs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Oct 18, 2022
1 parent 47d1ae4 commit cec20b2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/nodejs.yml
Expand Up @@ -54,3 +54,21 @@ jobs:
npm test
env:
CI: true

- name: Calculate environment variables
run: |
echo "tag_name=$(npm run calculate-tag-name --silent)" >> $GITHUB_ENV
echo "tailwindcss_version=$(node -e 'console.log(require(`./package.json`).version);')" >> $GITHUB_ENV
- name: Temporary test (should be executed)
if: env.tag_name == 'latest'
run: |
echo ${{ env.tag_name }}
echo ${{ env.tailwindcss_version }}
- name: Temporary test (should be skipped)
if: env.tag_name != 'latest'
run: |
echo ${{ env.tag_name }}
echo ${{ env.tailwindcss_version }}

0 comments on commit cec20b2

Please sign in to comment.