学習メモです ファイル作成 .github/workflowsディレクトリを作成 .github/workflowsにyamlファイルを作成 ジョブの作成 今回実行する必要のあるjobを以下のように実行したい セットアップ setup: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: 18 - name: Install Yarn run: npm install -g yarn - uses: actions/cache@v3 # 別のstepから参照するためにstepにidを付与する id: node_modules_cache_id env: cache-name: cache-node-modules # usesの
![GithubActionsでtypecheck/lint/test/buildを行う](https://cdn-ak-scissors.b.st-hatena.com/image/square/95489faa3d43bca0e7c43209124481b6f320c814/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fzenn%2Fimage%2Fupload%2Fs--i2TdbzQg--%2Fc_fit%252Cg_north_west%252Cl_text%3Anotosansjp-medium.otf_55%3AGithubActions%2525E3%252581%2525A7typecheck%25252Flint%25252Ftest%25252Fbuild%2525E3%252582%252592%2525E8%2525A1%25258C%2525E3%252581%252586%252Cw_1010%252Cx_90%252Cy_100%2Fg_south_west%252Cl_text%3Anotosansjp-medium.otf_37%3A%2525E7%252599%252592%252Cx_203%252Cy_121%2Fg_south_west%252Ch_90%252Cl_fetch%3AaHR0cHM6Ly9zdG9yYWdlLmdvb2dsZWFwaXMuY29tL3plbm4tdXNlci11cGxvYWQvYXZhdGFyLzBmZTI1YzI1M2EuanBlZw%3D%3D%252Cr_max%252Cw_90%252Cx_87%252Cy_95%2Fv1627283836%2Fdefault%2Fog-base-w1200-v2.png)