The following action / job will download and save latest pwa-studio source code to your github repo using magento-actions.
Also one can use this repo as template.
name: pwa-studio-install-actions
on: [push]
jobs:
magento2-install:
runs-on: ubuntu-latest
name: 'install & push pwa-studio project'
steps:
- uses: actions/checkout@v2
- name: 'install fresh pwa studio code and copy to repo'
uses: MAD-I-T/magento-actions@v3.12
with:
process: 'pwa-studio-install'
#no_push: 1 //uncomment this to prevent files from getting pushed to repo