diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a441a60..fbba5a4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,6 +15,10 @@ registries: url: https://npm.shopify.io/node token: ${{secrets.NPM_REGISTRY_NPM_SHOPIFY_IO_NODE_TOKEN}} updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly - package-ecosystem: bundler directory: '/' schedule: diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index c2ad83c..3f730c4 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -6,11 +6,11 @@ jobs: lint-commits: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.3.1 + - uses: actions/checkout@28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b # v2.3.1 with: fetch-depth: 0 - name: Setup NodeJS and NPM - uses: actions/setup-node@v2 + uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2 with: node-version: 16.13.2 - name: Add @commitlint diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 23de631..4c3902a 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -8,20 +8,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 with: node-version: 16 - name: Install Yarn run: npm install --global yarn - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Install & Build Docs run: | cd docs yarn yarn build - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs/build diff --git a/.github/workflows/react-native-performance.yml b/.github/workflows/react-native-performance.yml index ffac0ba..afdf968 100644 --- a/.github/workflows/react-native-performance.yml +++ b/.github/workflows/react-native-performance.yml @@ -12,13 +12,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 with: node-version: ${{ env.NODE_VERSION }} - name: Install Yarn run: npm install --global yarn - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Build Typescript run: | yarn @@ -28,13 +28,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 with: node-version: ${{ env.NODE_VERSION }} - name: Install Yarn run: npm install --global yarn - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Build Typescript in fixture run: | yarn @@ -46,13 +46,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 with: node-version: ${{ env.NODE_VERSION }} - name: Install Yarn run: npm install --global yarn - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Lint Typescript run: | yarn @@ -62,13 +62,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 with: node-version: ${{ env.NODE_VERSION }} - name: Install Yarn run: npm install --global yarn - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Test Typescript run: | yarn @@ -77,8 +77,8 @@ jobs: name: 'Metro bundling for iOS' runs-on: macos-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 with: node-version: ${{ env.NODE_VERSION }} - run: | @@ -92,8 +92,8 @@ jobs: name: 'Metro bundling for Android' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 with: node-version: ${{ env.NODE_VERSION }} - run: | @@ -106,12 +106,12 @@ jobs: name: 'Build iOS' runs-on: macos-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 with: node-version: ${{ env.NODE_VERSION }} - name: ruby setup - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@dffc446db9ba5a0c4446edb5bca1c5c473a806c5 # v1.235.0 with: ruby-version: ${{ env.RUBY_VERSION }} bundler-cache: true @@ -126,12 +126,12 @@ jobs: name: 'Build Android' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 with: node-version: ${{ env.NODE_VERSION }} - name: ruby setup - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@dffc446db9ba5a0c4446edb5bca1c5c473a806c5 # v1.235.0 with: ruby-version: ${{ env.RUBY_VERSION }} bundler-cache: true