Bump postcss from 8.4.16 to 8.4.31 in /ui #28
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ main ] | |
jobs: | |
go-build: | |
name: Backend Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
goVer: [1.19] | |
steps: | |
- name: Set up Go ${{ matrix.goVer }} | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.goVer }} | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Get dependencies | |
run: | | |
go get -v -t -d ./... | |
go get gopkg.in/check.v1 | |
- name: Test | |
run: go test -v ./... | |
- name: Build | |
run: | | |
go build -v ./cmd/pocketbase-nextjs-template | |
ui-build: | |
name: Frontend Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: install yarn | |
run: | | |
npm install -g yarn | |
- uses: actions/checkout@v1 | |
- name: yarn install | |
run: | | |
cd ./ui | |
yarn install | |
- name: build | |
run: | | |
cd ./ui | |
echo "ENV_API_URL=${{ secrets.ENV_API_URL }}" >> .env.production | |
yarn build |