Bump actions/setup-node from 3 to 4 #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
- development | |
pull_request: | |
branches: | |
- main | |
- development | |
permissions: | |
checks: write | |
contents: write | |
jobs: | |
build: | |
name: Run JS Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: Install Node.js dependencies | |
run: yarn install | |
- name: Compile JS | |
run: yarn build:prod | |
- name: Upload Compiled JS | |
uses: actions/upload-artifact@v3 | |
with: | |
name: stimulus-tailwind-components.min.js | |
path: dist/ |