Merge pull request #127 from TheLindaProjectInc/develop #432
This file contains hidden or 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: NodeJS with Yarn | |
on: | |
push: | |
branches: | |
- "master" | |
- "develop" | |
pull_request: | |
branches: | |
- "master" | |
- "develop" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install yarn | |
run: npm install -g yarn | |
- name: Install deps | |
run: yarn install | |
- name: Build | |
run: yarn run build | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist | |
path: | | |
dist |