Skip to content

fix: remove styled-components #9

fix: remove styled-components

fix: remove styled-components #9

Workflow file for this run

name: Build & Release
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get tag
run: echo ::set-output name=VERSION_TAG::${GITHUB_REF/refs\/tags\//}
id: get_tag
- name: Checkout source code
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'yarn'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & Build
run: yarn --frozen-lockfile && yarn build
- name: Bundle
run: |
mkdir -p ./temp/npwd_qb_garage
cp ./{README.md,fxmanifest.lua} ./temp/npwd_qb_garage
cp -r ./client ./temp/npwd_qb_garage
cp -r ./server ./temp/npwd_qb_garage
cp -r ./web ./temp/npwd_qb_garage
cd ./temp && zip -r ../npwd_qb_garage.zip ./npwd_qb_garage
- name: Create Release
uses: "marvinpinto/action-automatic-releases@v1.2.1"
id: auto_release
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
title: NPWD QB Garage App | ${{ steps.get_tag.outputs.VERSION_TAG }}
prerelease: false
files: npwd_qb_garage.zip
env:
CI: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}